Not pushing all branches?
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Mar 13, 2009, 07:48 UTC
- Message-ID
- <alpine.DEB.2.00.0903130846410.17450@perkele.intern.softwolves.pp.se>
Hi!
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? Or failing that, not allow me to run "git push" without specifying a branch?
The git-config manual page leads me to believe that I should recofigure "remote.<name>.push", but it points me to the "refspec" spec on git-push, which is a tad cryptic.
-- \\// Peter - http://www.softwolves.pp.se/