navi: Add git tag helpers

This commit is contained in:
Robin-Charles Guihéneuf 2020-12-18 13:38:40 +01:00
parent 6c1a6274b7
commit 19fa6672f8

View File

@ -58,3 +58,14 @@ git commit --no-verify
# Create new branch from current HEAD # Create new branch from current HEAD
git checkout -b <new_branch_name> 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}'