diff options
author | Junio C Hamano <gitster@pobox.com> | 2011-02-15 11:03:22 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-02-15 11:03:22 -0800 |
commit | 43f9f053010c119c9836b2b5f8a07c72784f79b6 (patch) | |
tree | eb5f0ccab93ffa12afe8b0d041d1fa3a65f2c14f /Documentation | |
parent | 4e363b11bdc3770efcfe55dac79f6dc18a5e562b (diff) | |
parent | 24231e063f0f003f8ffd7b64c7ba6a0baaaa5283 (diff) | |
download | git-43f9f053010c119c9836b2b5f8a07c72784f79b6.tar.gz |
Merge branch 'maint'
* maint:
pull: do not display fetch usage on --help-all
git-tag.txt: list all modes in the description
commit,status: describe -u likewise
add: describe --patch like checkout, reset
commit,merge,tag: describe -m likewise
clone,init: describe --template using the same wording
commit,status: describe --porcelain just like push
commit,tag: use same wording for -F
configure: use AC_LANG_PROGRAM consistently
string_list_append: always set util pointer to NULL
correct type of EMPTY_TREE_SHA1_BIN
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-tag.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index 8b169e364a..65f76c5440 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -18,21 +18,22 @@ SYNOPSIS DESCRIPTION ----------- -Adds a tag reference in `.git/refs/tags/`. +Add a tag reference in `.git/refs/tags/`, unless `-d/-l/-v` is given +to delete, list or verify tags. -Unless `-f` is given, the tag must not yet exist in +Unless `-f` is given, the tag to be created must not yet exist in the `.git/refs/tags/` directory. If one of `-a`, `-s`, or `-u <key-id>` is passed, the command -creates a 'tag' object, and requires the tag message. Unless +creates a 'tag' object, and requires a tag message. Unless `-m <msg>` or `-F <file>` is given, an editor is started for the user to type in the tag message. If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <key-id>` are absent, `-a` is implied. -Otherwise just the SHA1 object name of the commit object is -written (i.e. a lightweight tag). +Otherwise just a tag reference for the SHA1 object name of the commit object is +created (i.e. a lightweight tag). A GnuPG signed tag object will be created when `-s` or `-u <key-id>` is used. When `-u <key-id>` is not used, the |