Re: Not pushing all branches?
- From
Imran M Yousuf <imyousuf@gmail.com>
- Date
- Mar 13, 2009, 08:12 UTC
- Message-ID
- <7bfdc29a0903130112w17d40473s14a895d518dbf8ae@mail.gmail.com>
- In-Reply-To
- <alpine.DEB.2.00.0903130846410.17450@perkele.intern.softwolves.pp.se>
On Fri, Mar 13, 2009 at 1:48 PM, Peter Krefting <peter@softwolves.pp.se> wrote:
Show 6 quoted lines
> 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?
Just try - git push remote branch :)
Show 12 quoted lines
> > 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/ > -- > To unsubscribe from this list: send the line "unsubscribe git" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >
-- Imran M Yousuf Entrepreneur & Software Engineer Smart IT Engineering Dhaka, Bangladesh Email: imran@smartitengineering.com Blog: http://imyousuf-tech.blogs.smartitengineering.com/ Mobile: +880-1711402557