LWN.net Logo

Git project seeks discussion on "push" change

Git project seeks discussion on "push" change

Posted Mar 20, 2012 18:54 UTC (Tue) by fragmede (subscriber, #50925)
In reply to: Git project seeks discussion on "push" change by bergwolf
Parent article: Git project seeks discussion on "push" change

+1 to making pain "git push" a nop.

A question I'm often asked is how the local branch name can different from the remote branch name, which is what this syntax is for. It also makes it easier to remember that "git push :<remote>" deletes the remote branch, and ":" isn't some randomly chosen character to delete remote things.

It's just a shame that the git push local:remote syntax is so high up on the learning cliff that many git users don't know about it.


(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