software shenanigans

Tagging a Commit with Git

This is solely for my own personal reference.

git add [files]
git commit
git tag [tag name]
git push -u origin [branch] --tags

The main difference from my normal workflow is:

  1. Running git tag [tag name] between the commit creation and the push
  2. Using the --tags flag in the push command

#git #reference