git worktree help inconsistent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Using git 2.6.1

In git command line usage, Please mark <branch> optional, the man page
is correct.

$ git worktree add
usage: git worktree add [<options>] <path> <branch>
   or: git worktree prune [<options>]

    -f, --force           checkout <branch> even if already checked
out in other worktree
    -b <branch>           create a new branch
    -B <branch>           create or reset a branch
    --detach              detach HEAD at named commit

But in man page,
git worktree add [-f] [--detach] [-b <new-branch>] <path> [<branch>]
git worktree prune [-n] [-v] [--expire <expire>]
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]