Re: git push default behaviour?
- From
Thomas Rast <trast@inf.ethz.ch>
- Date
- Mar 8, 2012, 10:11 UTC
- Message-ID
- <87k42vs8pi.fsf@thomas.inf.ethz.ch>
- In-Reply-To
- <CAFsnPqp1+jX3ZY0LZ1QDmvA=2_ebApPBttwFjr36OuTX2_MHug@mail.gmail.com>
Jeremy Morton <jeremy@configit.com> 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