Git : How to create a tag in git using source tree

Tag creation in GIT using source tree in simple steps :
1. select a commit to be tagged
2. right click and pick tag option
3. Provide tag name (lable)
4. Click add tag and push it to remote

gitTag

 

In case if you want to do the same using command prompt / shell the fire below commands

git clone <repo-address>

 

git tag -l

 

git checkout <tag-name>

 

git branch -D master

 

git checkout -b master

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