diff options
author | Nickolai Belakovski <nbelakovski@gmail.com> | 2019-04-28 22:19:44 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-07 13:45:55 +0900 |
commit | 6e9381469e3bd866e73affe6d9d96206ee7ff965 (patch) | |
tree | d24a25b1472db7119a46864b4834cc0e6934266a /Documentation/git-branch.txt | |
parent | ab3138146f9ce1d819cefab4515965604de76d9d (diff) | |
download | git-6e9381469e3bd866e73affe6d9d96206ee7ff965.tar.gz |
branch: add worktree info on verbose output
To display worktree path for refs checked out in a linked worktree
Signed-off-by: Nickolai Belakovski <nbelakovski@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-branch.txt')
-rw-r--r-- | Documentation/git-branch.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index 7d18dffc4b..d11d00583a 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -172,8 +172,10 @@ This option is only applicable in non-verbose mode. When in list mode, show sha1 and commit subject line for each head, along with relationship to upstream branch (if any). If given twice, print - the name of the upstream branch, as well (see also `git remote - show <remote>`). + the path of the linked worktree (if any) and the name of the upstream + branch, as well (see also `git remote show <remote>`). Note that the + current worktree's HEAD will not have its path printed (it will always + be your current directory). -q:: --quiet:: |