Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Looking for a way to turn off/modify ref disambiguation

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:54

Michael J Gruber [off-list ref] writes:
I haven't come across advice like that....
I consider that advice very bad indeed:

If "origin..master" is resolved to...
Perhaps origin..master was a bad example for you [*1*]; but the point is
you can say "origin" to mean the commit at the tip of the remote tracking
branch that the repository you cloned from deemed as its primary branch
anywhere we expect a commit on the command line.

So if you do not like "log origin..master", then say "git log origin"
instead and the point still stands.

[Footnote]

*1* "origin..master" is still a perfectly good example in tutorials to
teach people who use the workflow with a single at the central repository,
i.e. the simplest for esapee from CVS/SVN. You may have "frotz" topic and
"nitfol" topic branches locally cooking your own changes, and you can
measure their progress against the central repository with "origin..frotz"
and "origin..nitfol".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help