show-branch: --current includes the current branch.
With this, the command includes the current branch to the list
of revs to be shown when it is not given on the command line.
This is handy to use in the configuration file like this:
[showbranch]
default = --current
default = heads/* ; primary branches, not topics under
; subdirectories
Signed-off-by: Junio C Hamano <junkio@cox.net>
Show all refs under $GIT_DIR/refs, $GIT_DIR/refs/heads,
and $GIT_DIR/refs/tags, respectively.
--current::
With this option, the command includes the current
branch to the list of revs to be shown when it is not
given on the command line.
--topo-order::
By default, the branches and their commits are shown in
reverse chronological order. This option makes them
@ -134,7 +142,8 @@ it, having the following in the configuration file may help:
@@ -134,7 +142,8 @@ it, having the following in the configuration file may help:
------------
With this,`git show-branch` without extra parameters would show
only the primary branches.
only the primary branches. In addition, if you happen to be on