X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-show-branch.txt;h=7e9ff3762b111d8740a99b676ea516435018f3a8;hb=c0bc2eeb1e03593ca816f63deda662da5a25ab83;hp=fb269fff87941756351292f57f381c8c9500deec;hpb=141201d124f3663a98e0f362c1af7f5f7b58dabb;p=git.git diff --git a/Documentation/git-show-branch.txt b/Documentation/git-show-branch.txt index fb269fff8..7e9ff3762 100644 --- a/Documentation/git-show-branch.txt +++ b/Documentation/git-show-branch.txt @@ -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.