Not pushing all branches?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux