Gitflow
📤Push All Local Tags to RemoteEasy+300 XP
Workshop
Scenario reference

Push All Local Tags to Remote: the situation, step by step

The situation

You tagged a backlog of releases locally (v1.0, v1.1, v1.2). None are on origin. Marketing needs the GitHub releases page populated.

`git push --tags` pushes every annotated/lightweight tag in one go.

Easy · 2 steps · +300 XP

What you will practice

This scenario walks through 2 steps, in order:

  1. 01List local tags
  2. 02Push all tags to origin
Reveal the step-by-step commands

Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.

  1. 1. List local tags
    git tag
  2. 2. Push all tags to origin
    git push origin --tags

Key takeaway

--follow-tags pushes only the tags reachable from pushed commits — safer for daily flows.