Thread (5 messages) flat view 5 messages, 3 authors, 2016-06-15

Re: git push default behaviour?

From: Sebastien Douche <hidden>
Date: 2016-06-15 22:53:19

On Thu, Mar 8, 2012 at 11:01, Jeremy Morton [off-list ref] wrote:
Hi everyone,
Hi Jeremy (sorry to be late, back from holiday)
I've noticed that the default behaviour of 'git push' is to push to
*all* branches that have a remote branch set up.  In order to push
just to one branch, you must specify 'git push repo branchname'.

This seems rather unintuative to me
I made many Git presentation and managed a lot of training[1] and the
first thing I explain on the configuration is :

1. set your name and email
2. change the default push option[2]

Moreover, most people I see don't understand the default behaviour:
it's a frequently ask question by beginner.


[1] For git French : http://gitfr.net/blog
[2] I recommend tracking


-- 
Sebastien Douche [off-list ref]
Twitter: @sdouche / G+: +sdouche
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help