Thursday, April 12, 2012

Git: create a tag on a (remote) branch

You can create a tag on the local branch and you must push the tag to the remote.

Command line

> git tag …

> git push --tags

TortoiseGit

  1. Create tag
    1. set tag name
    2. set tag/branch/version
    3. enter message
  2. Sync/Push
    1. Select Push tags instead of Push button in the dropdown

Git Extensions

  1. Browse
  2. Right click on the commit log you want to tag
  3. Select Create new tag
  4. Enter data
  5. Push
    1. Select Push tags tab

No comments:

Post a Comment