Переглянути джерело

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

Jibran Kalia 7 роки тому
батько
коміт
0a5a62eda8
1 змінених файлів з 4 додано та 0 видалено
  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}}`