summaryrefslogtreecommitdiffstats
path: root/git-show-branch.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-01-21 08:57:14 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-01-21 08:57:14 +0000
commitdb450ba3ae2b636d553d185caf436c76c0853bff (patch)
treecd6559f859d8c6f6fd813b9324247b7da8b43872 /git-show-branch.txt
parent4ad294bce02ce66a5fa0a3aba3267d83fc995773 (diff)
downloadgit-htmldocs-db450ba3ae2b636d553d185caf436c76c0853bff.tar.gz
Autogenerated HTML docs for v1.5.0-rc2
Diffstat (limited to 'git-show-branch.txt')
-rw-r--r--git-show-branch.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/git-show-branch.txt b/git-show-branch.txt
index 912e15bcb..529f3a648 100644
--- a/git-show-branch.txt
+++ b/git-show-branch.txt
@@ -11,7 +11,7 @@ SYNOPSIS
'git-show-branch' [--all] [--remotes] [--topo-order] [--current]
[--more=<n> | --list | --independent | --merge-base]
[--no-name | --sha1-name] [--topics] [<rev> | <glob>]...
-'git-show-branch' --reflog[=<n>] <ref>
+'git-show-branch' --reflog[=<n>[,<base>]] [--list] <ref>
DESCRIPTION
-----------
@@ -97,8 +97,10 @@ OPTIONS
will show the revisions given by "git rev-list {caret}master
topic1 topic2"
---reflog[=<n>] <ref>::
- Shows <n> most recent ref-log entries for the given ref.
+--reflog[=<n>[,<base>]] <ref>::
+ Shows <n> most recent ref-log entries for the given
+ ref. If <base> is given, <n> entries going back from
+ that entry. <base> can be specified as count or date
Note that --more, --list, --independent and --merge-base options
@@ -165,6 +167,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