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

Re: Not pushing all branches?

From: John Tapsell <hidden>
Date: 2016-06-15 22:46:23

2009/3/13 Johannes Schindelin [off-list ref]:
Hi,

On Fri, 13 Mar 2009, John Tapsell wrote:
quoted
2009/3/13 Peter Krefting [off-list ref]:
quoted
Doing "git push remote" pushes all my local branches by default. Is
there a way to set it to *not* do that, and (for this particular
remote repository) just push the current branch?
quoted
Or failing that, not allow me to run "git push" without specifying a
branch?
I've been pushing for this behaviour, and there was a patch a few days
ago to do this.  I'm not sure if it is/will be committed.
As Junio is a careful maintainer, he will not change anything radical
which would piss of a lot of people _without_ a proper, long-term plan
that gives users a chance.

I know, I once tried to push for something like that, and I am glad that
Junio is too wise as to make Git unstable for existing users.
Understandable.  There were 6 patches, only the last one changes the
default.  Hopefully the first 5 will be applied and the 6 will
debated, then grudgingly applied :-)

John
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help