summaryrefslogtreecommitdiffstats
path: root/man1/git-symbolic-ref.1
diff options
context:
space:
mode:
Diffstat (limited to 'man1/git-symbolic-ref.1')
-rw-r--r--man1/git-symbolic-ref.115
1 files changed, 11 insertions, 4 deletions
diff --git a/man1/git-symbolic-ref.1 b/man1/git-symbolic-ref.1
index 9dbc72062..52b8df697 100644
--- a/man1/git-symbolic-ref.1
+++ b/man1/git-symbolic-ref.1
@@ -2,12 +2,12 @@
.\" Title: git-symbolic-ref
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" Date: 10/19/2022
+.\" Date: 10/21/2022
.\" Manual: Git Manual
-.\" Source: Git 2.38.1.130.g45c9f05c44
+.\" Source: Git 2.38.1.143.g1fc3c0ad40
.\" Language: English
.\"
-.TH "GIT\-SYMBOLIC\-REF" "1" "10/19/2022" "Git 2\&.38\&.1\&.130\&.g45c9f0" "Git Manual"
+.TH "GIT\-SYMBOLIC\-REF" "1" "10/21/2022" "Git 2\&.38\&.1\&.143\&.g1fc3c0" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -33,7 +33,7 @@ git-symbolic-ref \- Read, modify and delete symbolic refs
.sp
.nf
\fIgit symbolic\-ref\fR [\-m <reason>] <name> <ref>
-\fIgit symbolic\-ref\fR [\-q] [\-\-short] <name>
+\fIgit symbolic\-ref\fR [\-q] [\-\-short] [\-\-no\-recurse] <name>
\fIgit symbolic\-ref\fR \-\-delete [\-q] <name>
.fi
.sp
@@ -66,6 +66,13 @@ to
\fBmaster\fR\&.
.RE
.PP
+\-\-recurse, \-\-no\-recurse
+.RS 4
+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 (\fB\-\-recurse\fR, which is the default)\&.
+\fB\-\-no\-recurse\fR
+stops after dereferencing only a single level of symbolic ref\&.
+.RE
+.PP
\-m
.RS 4
Update the reflog for <name> with <reason>\&. This is valid only when creating or updating a symbolic ref\&.