X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=Documentation%2Fgit-update-ref.txt;h=7f7e3d197bafbbb2efe610096b0cad6901488be5;hb=9e1f0a85c68323830ea117092c55192b17aa3ac8;hp=9424feab320afcaa5a44bd2c2c6c86728bd8d004;hpb=c63a3ad2c1d6f86cd7989055a133e06055239317;p=thirdparty%2Fgit.git diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index 9424feab32..7f7e3d197b 100644 --- a/Documentation/git-update-ref.txt +++ b/Documentation/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 ] (-d | []) +'git-update-ref' [-m ] (-d | [--no-deref] []) 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, itself is overwritten, rather than +the result of following the symbolic pointers. + In general, using git-update-ref HEAD "$head" @@ -87,4 +90,4 @@ Written by Linus Torvalds . GIT --- -Part of the gitlink:git[7] suite +Part of the linkgit:git[1] suite