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

Re: [PATCH] checkout --track: make up a sensible branch name if '-b' was omitted

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:07

Johannes Schindelin [off-list ref] writes:
What does the user most likely want with this command?

	$ git checkout --track origin/next

Exactly.  A branch called 'next', that tracks origin's branch 'next'.
I like this.

An explicit --track request from the command line (as opposed to happening
to have "branch.autosetupmerge" configuration) is a very good cue that
what the user wants to do is not to take a peek on a detached HEAD but a
more permanent playpen created.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help