Re: [PATCH v2] push: point to 'git pull' and 'git push --force' in case of non-fast forward

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Junio C Hamano
Date: Sunday, August 9, 2009 - 1:22 pm

Matthieu Moy <Matthieu.Moy@imag.fr> writes:


What the above three lines does much more than that.

If you read "would discard remote changes" and understand that it is what
you want, then you may know to try --force, without having to read the
doc, or if you do not remember --force, "git push --help" would remind
you.

If you read "Integrate them with your changes" and understand that it is
talking about "git pull" or "git pull --rebase", then you do not have to
read the doc.  It should "click".

If you lack such a basic understanding, you are better off go reading the
doc after all.


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2] push: point to 'git pull' and 'git push --f ..., Junio C Hamano, (Sun Aug 9, 1:22 pm)
[RFC/PATCH 0/4] make helpful messages optional, Jeff King, (Sat Sep 5, 11:44 pm)
[PATCH 2/4] push: re-flow non-fast-forward message, Jeff King, (Sat Sep 5, 11:47 pm)
Re: [RFC/PATCH 0/4] make helpful messages optional, Matthieu Moy, (Sun Sep 6, 4:53 am)
[PATCH 0/2] configurable advice messages, Jeff King, (Wed Sep 9, 4:26 am)