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

Re: git push default behaviour?

From: Jeremy Morton <hidden>
Date: 2016-06-15 22:53:19

On Sat, Mar 17, 2012 at 9:36 AM, Sebastien Douche [off-list ref] wrote:
On Thu, Mar 8, 2012 at 11:01, Jeremy Morton [off-list ref] wrote:
quoted
Hi everyone,
Hi Jeremy (sorry to be late, back from holiday)
quoted
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]
So, that would seem to be a rather strong indication that the default
push option is a bad one.  :-)

Best regards,
Jeremy Morton (Jez)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help