Git: Tagging and pushing to remote

I’ve had to look this up a couple times.

Annonated Tag
git tag -a [tagname] -m ‘MESSAGE’

To Push to Server
git push origin [tagname]

Annotated tags, however, are stored as full objects in the Git database. They’re checksummed; contain the tagger name, e-mail, and date; have a tagging message; and can be signed and verified with GNU Privacy Guard (GPG)

Resource:
http://git-scm.com/book/en/Git-Basics-Tagging

Advertisements
This entry was posted in Git and tagged , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s