aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-notes.txt
diff options
context:
space:
mode:
authorJohan Herland <johan@herland.net>2010-11-09 22:49:57 +0100
committerJunio C Hamano <gitster@pobox.com>2010-11-17 13:23:55 -0800
commit618cd75707580819f19a5f01dba406ac72219c78 (patch)
treee034bdf9577152b30295eb92f56ff84fb1405ee3 /Documentation/git-notes.txt
parent305ddd444ee66607581c014b371ed74af534eca5 (diff)
downloadgit-618cd75707580819f19a5f01dba406ac72219c78.tar.gz
git-618cd75707580819f19a5f01dba406ac72219c78.tar.xz
Provide 'git notes get-ref' to easily retrieve current notes ref
Script may use 'git notes get-ref' to easily retrieve the current notes ref. Suggested-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Johan Herland <johan@herland.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-notes.txt')
-rw-r--r--Documentation/git-notes.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/git-notes.txt b/Documentation/git-notes.txt
index 1de1417d8..296f314ea 100644
--- a/Documentation/git-notes.txt
+++ b/Documentation/git-notes.txt
@@ -19,6 +19,7 @@ SYNOPSIS
'git notes' merge --abort [-v | -q]
'git notes' remove [<object>]
'git notes' prune [-n | -v]
+'git notes' get-ref
DESCRIPTION
@@ -109,6 +110,10 @@ remove::
prune::
Remove all notes for non-existing/unreachable objects.
+get-ref::
+ Print the current notes ref. This provides an easy way to
+ retrieve the current notes ref (e.g. from scripts).
+
OPTIONS
-------
-f::