From 88e3ae87f52cbbf5cc0114736b07ed783b70e59e Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Thu, 6 Apr 2023 13:50:34 +0200 Subject: [PATCH] Remove push options from git alias --- private_dot_gitconfig.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private_dot_gitconfig.tmpl b/private_dot_gitconfig.tmpl index 3175b4d..020fc5a 100644 --- a/private_dot_gitconfig.tmpl +++ b/private_dot_gitconfig.tmpl @@ -36,7 +36,7 @@ syn = ! "git pull --rebase && git push" gone = ! "git fetch -p && git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D" praise = blame - pushbranch = ! "git push -o merge_request.create -u origin $(git rev-parse --abbrev-ref HEAD)" + pushbranch = ! "git push -u origin $(git rev-parse --abbrev-ref HEAD)" pushu = pushbranch pushf = push -f cobf = ! "f() { git branch -D $1 && git switch -c $1; }; f"