X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-update-ref.txt;h=f222616591f157beada3c5355ee0e56d68171761;hb=967506bbbdc38e75263d6e6a90e3b8dbba6cec0f;hp=71bcb7954f0c53a995ba56de6c99d9aebc6aa52a;hpb=1fcdd62adf81a172f45c7c6a58177212d500b9d9;p=git.git diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index 71bcb7954..f22261659 100644 --- a/Documentation/git-update-ref.txt +++ b/Documentation/git-update-ref.txt @@ -3,11 +3,11 @@ git-update-ref(1) NAME ---- -git-update-ref - update the object name stored in a ref safely +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"