diff --git a/src/tito/tagger.py b/src/tito/tagger.py index 0a3b50e..30c0948 100644 --- a/src/tito/tagger.py +++ b/src/tito/tagger.py @@ -441,7 +441,7 @@ class VersionTagger(object): print("Created tag: %s" % new_tag) print(" View: git show HEAD") print(" Undo: tito tag -u") - print(" Push: git push && git push --tags") + print(" Push: git push && git push origin %s" % new_tag) def _check_tag_does_not_exist(self, new_tag): status, output = commands.getstatusoutput( diff --git a/tito.8.asciidoc b/tito.8.asciidoc index 0d906c2..f3b80d4 100644 --- a/tito.8.asciidoc +++ b/tito.8.asciidoc @@ -35,7 +35,7 @@ to manage the tags and builds. A simple workflow may look like: .. Build: `tito build --rpm --test` . Finalize a release .. Tag: `tito tag` - .. Push: `git push && git push --tags` + .. Push: `git push && git push $ORIGIN $TAG` .. Build: `tito build [OPTIONS]`