From 0a5a62eda8de92a213b26ddc1411a3e392f50303 Mon Sep 17 00:00:00 2001 From: Jibran Kalia Date: Wed, 10 Jan 2018 02:52:20 -0800 Subject: [PATCH] git-tag: Add message for given commit (#1877) --- pages/common/git-tag.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/git-tag.md b/pages/common/git-tag.md index 2bf53b7267..73e0984ebd 100644 --- a/pages/common/git-tag.md +++ b/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}}`