Преглед на файлове

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}}`