misleading "man git-worktree", is last "add" argument necessarily a "branch"?
- From
Robert P. J. Day <rpjday@crashcourse.ca>
- Date
- Jan 17, 2018, 12:58 UTC
- Message-ID
- <alpine.LFD.2.21.1801170455380.16166@localhost.localdomain>
perusing "git worktree", and man page reads:
SYNOPSIS
git worktree add [-f] [--detach] [--checkout] [--lock] \
[-b <new-branch>] <path> [<branch>]
^^^^^^^^^^however, can't that last optional argument be any arbitrary commit, not just a "branch"?
rday