summaryrefslogtreecommitdiffstats
path: root/git-update-ref.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-05-20 19:12:09 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-05-20 19:12:09 +0000
commitf2ce297388d7f2110479ff3aadcec4af41b1bc77 (patch)
tree84c2c993927a56f8e94a63b11b764722a1199878 /git-update-ref.txt
parented7f4f6a711449fd2edb85a26e3e3998586e500d (diff)
downloadgit-htmldocs-f2ce297388d7f2110479ff3aadcec4af41b1bc77.tar.gz
Autogenerated HTML docs for v1.5.2-14-g45bde
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 9424feab3..f22261659 100644
--- a/git-update-ref.txt
+++ b/git-update-ref.txt
@@ -7,7 +7,7 @@ git-update-ref - Update the object name stored in a ref safely
SYNOPSIS
--------
-'git-update-ref' [-m <reason>] (-d <ref> <oldvalue> | <ref> <newvalue> [<oldvalue>])
+'git-update-ref' [-m <reason>] (-d <ref> <oldvalue> | [--no-deref] <ref> <newvalue> [<oldvalue>])
DESCRIPTION
-----------
@@ -36,6 +36,9 @@ them and update them as a regular file (i.e. it will allow the
filesystem to follow them, but will overwrite such a symlink to
somewhere else with a regular filename).
+If --no-deref is given, <ref> itself is overwritten, rather than
+the result of following the symbolic pointers.
+
In general, using
git-update-ref HEAD "$head"