navi: Add git tag helpers

This commit is contained in:
Robin-Charles Guihéneuf 2020-12-18 13:38:40 +01:00 committed by Robin-Charles GUIHENEUF
parent 3699718ff7
commit 7e45a05480

View File

@ -58,3 +58,14 @@ git commit --no-verify
# Create new branch from current HEAD
git checkout -b <new_branch_name>
# Create and push tag
git tag <name>
git push origin <name>
# Delete and push tag
git tag -d <tag_name>
git push -d origin <tag_name>
# Variables
$ tag_name: git tag -l | awk '{print $1}'