Adding a tag to a previous revision
From LING073
- Use
git log
to find the revision that you want to put a tag at.
- Check out the revision with
git checkout [revisionhash]
.
- Apply the tag using
git tag [tagname]
.
- Check out master
git checkout master
.
- Push the new tag
git push origin [tagname]
.