X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-update-ref.txt;h=4dc475992eeb20c7979850db0e85024a91e475c2;hb=6c41b80153a2e4ee347d0e968ee8d0d9abfc8862;hp=9424feab320afcaa5a44bd2c2c6c86728bd8d004;hpb=1b2782a5e2f88bf5e6e2cbb58e54fea015e21af5;p=git.git diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index 9424feab3..4dc475992 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[7] suite