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"