Browse Source

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

Jibran Kalia 7 năm trước cách đây
mục cha
commit
0a5a62eda8
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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}}`