From 082781b4d233c947b14b2c5d2d16c6baadcf46e5 Mon Sep 17 00:00:00 2001 From: laily Date: Tue, 26 May 2026 17:51:15 +0800 Subject: [PATCH] feat: add tags --- git/.gitconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/git/.gitconfig b/git/.gitconfig index bad8aa5..356a151 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -71,6 +71,7 @@ pu = "!git pull origin $(git rev-parse --abbrev-ref HEAD)" pt = push origin --tags 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' - bg = "!f() { git branch | grep $1; }; f" delbr = "!f(){ git branch -D $(git branch | grep \"\b$1\"); };f"