summaryrefslogtreecommitdiffstats
path: root/git-update-ref.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-update-ref.txt
parent2ce0aac108b9c935f3ac01e98478120df1f52ce1 (diff)
downloadgit-htmldocs-d7ed4041c8468a2ca93f1c8ac511af9d895d3d6d.tar.gz
Autogenerated HTML docs for v2.5.0-234-gefc8a
Diffstat (limited to 'git-update-ref.txt')
-rw-r--r--git-update-ref.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/git-update-ref.txt b/git-update-ref.txt
index c8f5ae5cb..969bfab2a 100644
--- a/git-update-ref.txt
+++ b/git-update-ref.txt
@@ -8,7 +8,7 @@ git-update-ref - Update the object name stored in a ref safely
SYNOPSIS
--------
[verse]
-'git update-ref' [-m <reason>] (-d <ref> [<oldvalue>] | [--no-deref] <ref> <newvalue> [<oldvalue>] | --stdin [-z])
+'git update-ref' [-m <reason>] (-d <ref> [<oldvalue>] | [--no-deref] [--create-reflog] <ref> <newvalue> [<oldvalue>] | --stdin [-z])
DESCRIPTION
-----------
@@ -67,6 +67,9 @@ performs all modifications together. Specify commands of the form:
verify SP <ref> [SP <oldvalue>] LF
option SP <opt> LF
+With `--create-reflog`, update-ref will create a reflog for each ref
+even if one would not ordinarily be created.
+
Quote fields containing whitespace as if they were strings in C source
code; i.e., surrounded by double-quotes and with backslash escapes.
Use 40 "0" characters or the empty string to specify a zero value. To