X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-update-ref.txt;h=d377a352433cb38536f42c5b3fc6b80ae2b11f7f;hb=28b22f8af9053109d1f09fef749b6b96ee41050a;hp=e25a65a80fafb7143957247e2fd85d64a701ddf5;hpb=69d61daec7a7915f6a664f32002fd9403e7f2a34;p=git.git diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt index e25a65a80..d377a3524 100644 --- a/Documentation/git-update-ref.txt +++ b/Documentation/git-update-ref.txt @@ -7,6 +7,7 @@ git-update-ref - Update the object name stored in a ref safely SYNOPSIS -------- +[verse] 'git update-ref' [-m ] (-d [] | [--no-deref] []) DESCRIPTION @@ -60,8 +61,9 @@ still contains . Logging Updates --------------- -If config parameter "core.logAllRefUpdates" is true or the file -"$GIT_DIR/logs/" exists then `git update-ref` will append +If config parameter "core.logAllRefUpdates" is true and the ref is one under +"refs/heads/", "refs/remotes/", "refs/notes/", or the symbolic ref HEAD; or +the file "$GIT_DIR/logs/" exists then `git update-ref` will append a line to the log file "$GIT_DIR/logs/" (dereferencing all symbolic refs before creating the log name) describing the change in ref value. Log lines are formatted as: