summaryrefslogtreecommitdiffstats
path: root/git-reflog.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-08-03 12:43:00 -0700
committerJunio C Hamano <gitster@pobox.com>2015-08-03 12:43:00 -0700
commitd7ed4041c8468a2ca93f1c8ac511af9d895d3d6d (patch)
treef209ad1e994b76de43073839fe78c6d431f60e02 /git-reflog.txt
parent2ce0aac108b9c935f3ac01e98478120df1f52ce1 (diff)
downloadgit-htmldocs-d7ed4041c8468a2ca93f1c8ac511af9d895d3d6d.tar.gz
Autogenerated HTML docs for v2.5.0-234-gefc8a
Diffstat (limited to 'git-reflog.txt')
-rw-r--r--git-reflog.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-reflog.txt b/git-reflog.txt
index 5e7908e4f..44c736f1a 100644
--- a/git-reflog.txt
+++ b/git-reflog.txt
@@ -23,6 +23,7 @@ depending on the subcommand:
[--dry-run] [--verbose] [--all | <refs>...]
'git reflog delete' [--rewrite] [--updateref]
[--dry-run] [--verbose] ref@\{specifier\}...
+'git reflog exists' <ref>
Reference logs, or "reflogs", record when the tips of branches and
other references were updated in the local repository. Reflogs are
@@ -52,6 +53,9 @@ argument must be an _exact_ entry (e.g. "`git reflog delete
master@{2}`"). This subcommand is also typically not used directly by
end users.
+The "exists" subcommand checks whether a ref has a reflog. It exits
+with zero status if the reflog exists, and non-zero status if it does
+not.
OPTIONS
-------