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