Git Tags

Zell Liew 🤗 - Nov 21 '18 - - Dev Community

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

Right clicking on the commit in Git history

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.

Right clicking on the branch in the sidebar

Deleting a tag

Right click on the tag and select "Delete tag".

Contextual menu when right clicking on a tag in the sidebar

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

Choice to delete tag from remote

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.

Choice to push tag into remote


Thanks for reading. This article was originally posted on my blog. Sign up for my newsletter if you want more articles to help you become a better frontend developer.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .