Parcourir la source

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

Jibran Kalia il y a 7 ans
Parent
commit
0a5a62eda8
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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}}`