From: Miles Bader Date: Sat, 14 Mar 2009 01:08:20 GMT Subject: Re: Not pushing all branches? Message-ID: <874oxwgbcr.fsf@catnip.gol.com> In-Reply-To: <7v4oxxgpil.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > - The first "-" one; even though it may be useful to be able to say > "the remote the current branch is associated with by default", using > "-" as a short-hand for that might be harmful to the long term UI > health, and further study was requested, which hasn't been responded > yet. I've often wished for such a thing in some contexts, actually... e.g., "git diff REMOTE_BRANCH" to see what updates are pending if I merge... Also, it would be nice to have a more concise way to say "git merge REMOTE_BRANCH". I'm not sure "-" seems like the best syntax though... maybe it's a bit _too_ short. [Is there a general standard syntax for "keywords" in git, e.g., to distinguish them from branch/rev names? I mean, if the standard syntax were "@foo", then one could imagine "git diff @remote" or something.] -miles -- Run away! Run away!