author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sat, 9 Aug 2008 14:00:12 +0000 (16:00 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 11 Aug 2008 23:37:28 +0000 (16:37 -0700) | ||
commit | bb0ceb6264fa1aea6e68e07cb13cd9a88473febb | |
tree | 3bb234811f3e3ff627dd73d83e99cf0adfa6eb17 | tree | snapshot |
parent | ac39efbdf3d41443c40166b7578b7fb87c2f3b60 | commit | diff |
checkout --track: make up a sensible branch name if '-b' was omitted
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'.
Make it so.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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'.
Make it so.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-checkout.txt | diff | blob | history | |
builtin-checkout.c | diff | blob | history | |
t/t7201-co.sh | diff | blob | history |