summaryrefslogtreecommitdiffstats
path: root/git-reflog.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2008-03-08 09:33:55 +0000
committerJunio C Hamano <junio@hera.kernel.org>2008-03-08 09:33:55 +0000
commit86bccccdbdcef5b72f60cca6ec3d9594b271dc63 (patch)
tree61e1ecc7a77398905ed58bc82aa67dc1fba38c8b /git-reflog.txt
parent3b022a5d9210de39138db2d53b13d6da2c8f364f (diff)
downloadgit-htmldocs-86bccccdbdcef5b72f60cca6ec3d9594b271dc63.tar.gz
Autogenerated HTML docs for v1.5.4.3-484-g60e3
Diffstat (limited to 'git-reflog.txt')
-rw-r--r--git-reflog.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/git-reflog.txt b/git-reflog.txt
index f9bba36c2..047e3ce14 100644
--- a/git-reflog.txt
+++ b/git-reflog.txt
@@ -19,6 +19,8 @@ depending on the subcommand:
git reflog expire [--dry-run] [--stale-fix] [--verbose]
[--expire=<time>] [--expire-unreachable=<time>] [--all] <refs>...
+git reflog delete ref@\{specifier\}...
+
git reflog [show] [log-options] [<ref>]
Reflog is a mechanism to record when the tip of branches are
@@ -43,6 +45,9 @@ two moves ago", `master@\{one.week.ago\}` means "where master used to
point to one week ago", and so on. See linkgit:git-rev-parse[1] for
more details.
+To delete single entries from the reflog, use the subcommand "delete"
+and specify the _exact_ entry (e.g. ``git reflog delete master@\{2\}'').
+
OPTIONS
-------
@@ -75,6 +80,15 @@ them.
--all::
Instead of listing <refs> explicitly, prune all refs.
+--updateref::
+ Update the ref with the sha1 of the top reflog entry (i.e.
+ <ref>@\{0\}) after expiring or deleting.
+
+--rewrite::
+ While expiring or deleting, adjust each reflog entry to ensure
+ that the `old` sha1 field points to the `new` sha1 field of the
+ previous entry.
+
--verbose::
Print extra information on screen.