Git 1.7 and git push?

Haïkel Guémar karlthered at gmail.com
Mon Feb 15 17:08:37 UTC 2010


Le 15/02/2010 17:37, Bruno Wolff III a écrit :
> I saw that there is a change in the way git push works in 1.7.
> Currently I only do simple things and a typical workflow is:
> git pull
> Make a few changes
> git commit -a
> git push
> 
> This normally does a fast forward update and avoids a merge.
> Is there another way I should be doing this? Does the answer change for 1.7?

Check release notes, you can configure your remote repository to use old
(unsafe) behavior.
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.0.txt
Mercurial has a similar behaviour, they recommend privileging pull over
push operations because of their asymmetric natures.

H.


More information about the devel mailing list