From: Thomas Gummerer Date: Sun, 26 Nov 2017 19:43:52 +0000 (+0000) Subject: worktree: add can be created from any commit-ish X-Git-Tag: v2.16.0-rc0~42^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c4738aedc0aee085e25e20b6c32b9c4680f265d1?hp=c4738aedc0aee085e25e20b6c32b9c4680f265d1 worktree: add can be created from any commit-ish Currently 'git worktree add' is documented to take an optional 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 Signed-off-by: Thomas Gummerer Signed-off-by: Junio C Hamano ---