navi: Add git tag helpers
This commit is contained in:
parent
58e29bd7c5
commit
efdddbf450
@ -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}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user