summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorLibravatar Thomas Gummerer <t.gummerer@gmail.com>2017-11-26 19:43:52 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-11-27 09:48:06 +0900
commitc4738aedc0aee085e25e20b6c32b9c4680f265d1 (patch)
tree016ce4bb1ba51bf5d3bf267aea497256c15d62c3 /commit.h
parentcheckout: factor out functions to new lib file (diff)
downloadtgif-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 'commit.h')
0 files changed, 0 insertions, 0 deletions