Git and GitHub

Tags and Releases

Creating Tags

Tags mark specific points in history as important.

Example:

# Create a lightweight tag
git tag tag-name

# Create an annotated tag
git tag -a tag-name -m "Tag message"

Annotated vs Lightweight Tags

Annotated tags store extra metadata, while lightweight tags are just pointers.

Example:

# List all tags
git tag -l

Using Tags for Releases

Tags are often used to mark release points in your project.

Example:

# Push tags to the remote repository
git push origin --tags

Whenever you're ready

There are 4 ways we can help you become a great backend engineer:

The MB Platform

Join 1000+ backend engineers learning backend engineering. Build real-world backend projects, learn from expert-vetted courses and roadmaps, track your learnings and set schedules, and solve backend engineering tasks, exercises, and challenges.

The MB Academy

The “MB Academy” is a 6-month intensive Advanced Backend Engineering BootCamp to produce great backend engineers.

Join Backend Weekly

If you like post like this, you will absolutely enjoy our exclusive weekly newsletter, Sharing exclusive backend engineering resources to help you become a great Backend Engineer.

Get Backend Jobs

Find over 2,000+ Tailored International Remote Backend Jobs or Reach 50,000+ backend engineers on the #1 Backend Engineering Job Board