X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-show-branch.txt;h=7e9ff3762b111d8740a99b676ea516435018f3a8;hb=c0bc2eeb1e03593ca816f63deda662da5a25ab83;hp=d3f258869f5d441bea16b46d8030eb64ecb7df99;hpb=6e13921b4f7adcc7316a76c0c4955b85b1589a65;p=git.git diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index d3f258869..7e9ff3762 100644 --- a/Documentation/git-show-branch.txt +++ b/Documentation/git-show-branch.txt @@ -30,7 +30,7 @@ OPTIONS ------- :: Arbitrary extended SHA1 expression (see linkgit:git-rev-parse[1]) - that typically names a branch HEAD or a tag. + that typically names a branch head or a tag. :: A glob pattern that matches branch or tag names under @@ -99,12 +99,12 @@ OPTIONS will show the revisions given by "git rev-list {caret}master topic1 topic2" +-g:: --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 + 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 @@ -172,7 +172,7 @@ 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 +$ git show-branch --reflog="10,1 hour ago" --list master ------------ shows 10 reflog entries going back from the tip as of 1 hour ago.