Adding a tag to a previous revision

From LING073
Jump to: navigation, search
  1. Use git log to find the revision that you want to put a tag at.
  2. Check out the revision with git checkout [revisionhash].
  3. Apply the tag using git tag [tagname].
  4. Check out master git checkout master.
  5. Push the new tag git push origin [tagname].