89

Git tags

 5 years ago
source link: https://www.tuicool.com/articles/hit/vAJvmmM
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

We use Git tags to create releases. In this video, you’ll learn how to tags manually without Git Flow.

Creating tags

There are two ways to create a tag.

The first method:

  1. Go to your Git history in your Git client
  2. Right click on the commit you want to create a tag at
  3. Select create tag
  4. Name your tag
6j6Z7rb.png!web

The second method

  1. Go to the sidebar
  2. Right click on the branch you want to create a tag at.
  3. Select create a tag
  4. Name your tag

Note: This will create a tag on the same commit at where the branch is at.

ZruyAzu.png!web

Deleting a tag

Right click on the tag and select “Delete tag”.

677vUjZ.png!web

Select delete tag from remote repositories to delete the tag from your remote as well.

mANNZj2.png!web

Pushing tags

When you push changes to your remote, you can select push all tags to push tags into the remote. This is checked by default.

rYbyme7.png!web

Thanks for reading. Did this article help you in any way? If you did, I hope you consider sharing it . You might help someone out. Thank you!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK