diff options
author | Thomas Gummerer <t.gummerer@gmail.com> | 2017-11-26 19:43:52 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-11-27 09:48:06 +0900 |
commit | c4738aedc0aee085e25e20b6c32b9c4680f265d1 (patch) | |
tree | 016ce4bb1ba51bf5d3bf267aea497256c15d62c3 /pretty.c | |
parent | checkout: factor out functions to new lib file (diff) | |
download | tgif-c4738aedc0aee085e25e20b6c32b9c4680f265d1.tar.xz |
worktree: add can be created from any commit-ish
Currently 'git worktree add' is documented to take an optional <branch>
argument, which is checked out in the new worktree. However it is more
generally possible to use a commit-ish as the optional argument, and
check that out into the new worktree.
Document that this is a possibility, as new users of git worktree add
might find it helpful.
Reported-by: Randall S. Becker <rsbecker@nexbridge.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pretty.c')
0 files changed, 0 insertions, 0 deletions