LWN.net Logo

Git project seeks discussion on "push" change

Git project seeks discussion on "push" change

Posted Mar 21, 2012 6:01 UTC (Wed) by cpeterso (guest, #305)
In reply to: Git project seeks discussion on "push" change by bergwolf
Parent article: Git project seeks discussion on "push" change

Does push.default=nothing do what you want?

http://techbase.kde.org/Development/Git/Configuration#Push_Default

This option forces you to always enter the name of the remote branch you wish to push to, rather than using a default value. This is good practice as it ensures you push to the correct remote branch and avoid accidentally pushing all local branches to the remote.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds