feat: add tags

This commit is contained in:
2026-05-26 17:51:15 +08:00
parent 4e8e3b7073
commit 082781b4d2
+1
View File
@@ -71,6 +71,7 @@
pu = "!git pull origin $(git rev-parse --abbrev-ref HEAD)" pu = "!git pull origin $(git rev-parse --abbrev-ref HEAD)"
pt = push origin --tags pt = push origin --tags
ph = push origin HEAD ph = push origin HEAD
pht = push origin --tags
merge2 = !sh -c '_CURRENT_BRANCH=$(git symbolic-ref --short HEAD) && git checkout $1 && git merge $_CURRENT_BRANCH && git checkout $_CURRENT_BRANCH' - merge2 = !sh -c '_CURRENT_BRANCH=$(git symbolic-ref --short HEAD) && git checkout $1 && git merge $_CURRENT_BRANCH && git checkout $_CURRENT_BRANCH' -
bg = "!f() { git branch | grep $1; }; f" bg = "!f() { git branch | grep $1; }; f"
delbr = "!f(){ git branch -D $(git branch | grep \"\b$1\"); };f" delbr = "!f(){ git branch -D $(git branch | grep \"\b$1\"); };f"