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 4f2093042a
commit 4c1700b2c4

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}'