diff options
author | Junio C Hamano <junio@kernel.org> | 2011-07-23 00:51:59 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2011-07-23 00:51:59 +0000 |
commit | 15567bc0c61c951197cb392b835678729534de57 (patch) | |
tree | 8be698fd27be92da0c23a77720987071e73b1d69 /git-update-ref.txt | |
parent | 708376e8576f6d39b62b27ee9dfe7292c652f728 (diff) | |
download | git-htmldocs-15567bc0c61c951197cb392b835678729534de57.tar.gz |
Autogenerated HTML docs for v1.7.6-345-g5c2f8
Diffstat (limited to 'git-update-ref.txt')
-rw-r--r-- | git-update-ref.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/git-update-ref.txt b/git-update-ref.txt index e25a65a80..d377a3524 100644 --- a/git-update-ref.txt +++ b/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 <reason>] (-d <ref> [<oldvalue>] | [--no-deref] <ref> <newvalue> [<oldvalue>]) DESCRIPTION @@ -60,8 +61,9 @@ still contains <oldvalue>. Logging Updates --------------- -If config parameter "core.logAllRefUpdates" is true or the file -"$GIT_DIR/logs/<ref>" 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/<ref>" exists then `git update-ref` will append a line to the log file "$GIT_DIR/logs/<ref>" (dereferencing all symbolic refs before creating the log name) describing the change in ref value. Log lines are formatted as: |