X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-show-branch.txt;h=0bb8250b202de93bac6b5cef957454cda2648a13;hb=deda26b9935bdca8d140006b224a278ec0377a33;hp=dafacd43080b6ab00205fab2a84617834ad5851f;hpb=6f38e0372266b5d674972e7039f8bd4156589558;p=git.git diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index dafacd430..0bb8250b2 100644 --- a/Documentation/git-show-branch.txt +++ b/Documentation/git-show-branch.txt @@ -11,6 +11,7 @@ SYNOPSIS 'git-show-branch' [--all] [--remotes] [--topo-order] [--current] [--more= | --list | --independent | --merge-base] [--no-name | --sha1-name] [--topics] [ | ]... +'git-show-branch' (-g|--reflog)[=[,]] [--list] [] DESCRIPTION ----------- @@ -96,6 +97,14 @@ OPTIONS will show the revisions given by "git rev-list {caret}master topic1 topic2" +--reflog[=[,]] []:: + Shows most recent ref-log entries for the given + ref. If is given, entries going back from + that entry. can be specified as count or date. + `-g` can be used as a short-hand for this option. When + no explicit parameter is given, it defaults to the + current branch (or `HEAD` if it is detached). + Note that --more, --list, --independent and --merge-base options are mutually exclusive. @@ -160,6 +169,13 @@ With this, `git show-branch` without extra parameters would show only the primary branches. In addition, if you happen to be on your topic branch, it is shown as well. +------------ +$ git show-branch --reflog='10,1 hour ago' --list master +------------ + +shows 10 reflog entries going back from the tip as of 1 hour ago. +Without `--list`, the output also shows how these tips are +topologically related with each other. Author @@ -174,4 +190,4 @@ Documentation by Junio C Hamano. GIT --- -Part of the gitlink:git[7] suite +Part of the linkgit:git[7] suite