summaryrefslogtreecommitdiffstats
path: root/git-symbolic-ref.txt
diff options
context:
space:
mode:
Diffstat (limited to 'git-symbolic-ref.txt')
-rw-r--r--git-symbolic-ref.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/git-symbolic-ref.txt b/git-symbolic-ref.txt
index ef68ad2b7..102c83eb1 100644
--- a/git-symbolic-ref.txt
+++ b/git-symbolic-ref.txt
@@ -9,7 +9,7 @@ SYNOPSIS
--------
[verse]
'git symbolic-ref' [-m <reason>] <name> <ref>
-'git symbolic-ref' [-q] [--short] <name>
+'git symbolic-ref' [-q] [--short] [--no-recurse] <name>
'git symbolic-ref' --delete [-q] <name>
DESCRIPTION
@@ -46,6 +46,15 @@ OPTIONS
When showing the value of <name> as a symbolic ref, try to shorten the
value, e.g. from `refs/heads/master` to `master`.
+--recurse::
+--no-recurse::
+ When showing the value of <name> as a symbolic ref, if
+ <name> refers to another symbolic ref, follow such a chain
+ of symbolic refs until the result no longer points at a
+ symbolic ref (`--recurse`, which is the default).
+ `--no-recurse` stops after dereferencing only a single level
+ of symbolic ref.
+
-m::
Update the reflog for <name> with <reason>. This is valid only
when creating or updating a symbolic ref.