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

Re: git push default behaviour?

From: Thomas Rast <hidden>
Date: 2016-06-15 22:53:15

Jeremy Morton [off-list ref] writes:
I've noticed that the default behaviour of 'git push' is to push to
*all* branches that have a remote branch set up.
[...]
Wouldn't it be better for git's default push behaviour (at least with
the '--force' option) to be just to push to the current branch in the
current repo?  To push to all branches you could have an
'--allbranches' option.
See push.default in git-config(1).

-- 
Thomas Rast
trast@{inf,student}.ethz.ch
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help