Sfoglia il codice sorgente

git-tag: Add message for given commit (#1877)

Jibran Kalia 7 anni fa
parent
commit
0a5a62eda8
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      pages/common/git-tag.md

+ 4 - 0
pages/common/git-tag.md

@@ -11,6 +11,10 @@
 
 `git tag {{tag_name}}`
 
+- Create a tag with the given name pointing to a given commit:
+
+`git tag {{tag_name}} {{commit}}`
+
 - Create an annotated tag with the given message:
 
 `git tag {{tag_name}} -m {{tag_message}}`