From: Steffen Daode Nurpmeso Date: Tue, 07 Jun 2011 10:48:33 GMT Subject: [PATCH] Notes that tags need to pushed explicitely Message-ID: <1307443713-14534-1-git-send-email-sdaoden@gmail.com> In-Reply-To: <20110606130205.GA41674@sherwood.local> --- Documentation/git-tag.txt | 3 ++- Documentation/gittutorial.txt | 1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index d82f621..242837f 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -27,7 +27,8 @@ Unless `-f` is given, the tag to be created must not yet exist in the If one of `-a`, `-s`, or `-u ` is passed, the command creates a 'tag' object, and requires a tag message. Unless `-m ` or `-F ` is given, an editor is started for the user to type -in the tag message. +in the tag message. Tag objects can be pushed upstream with +linkgit:git-push[1]. If `-m ` or `-F ` is given and `-a`, `-s`, and `-u ` are absent, `-a` is implied. diff --git a/Documentation/gittutorial.txt b/Documentation/gittutorial.txt index 0982f74..08c0c3a 100644 --- a/Documentation/gittutorial.txt +++ b/Documentation/gittutorial.txt @@ -520,6 +520,7 @@ names. For example: ------------------------------------- $ git diff v2.5 HEAD # compare the current HEAD to v2.5 +$ git push v2.5 # push the tag upstream $ git branch stable v2.5 # start a new branch named "stable" based # at v2.5 $ git reset --hard HEAD^ # reset your current branch and working -- 1.7.6.rc0