From 39f395d96291cbba42836feadc163efdc320fcef Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sun, 11 Apr 2021 22:13:34 +0300 Subject: [PATCH] Only push to the upstream repo with git trigger. That's usually what's meant. The broader approach has unexpected behavior (and doesn't always work). --- .config/git/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/git/config b/.config/git/config index 2900d74..2a04faa 100644 --- a/.config/git/config +++ b/.config/git/config @@ -37,7 +37,7 @@ temptree = !git worktree prune && git worktree add "$(mktemp -d)" touch = "!f() { touch \"$@\" && git add -f \"$@\"; }; f" tracking = rev-parse --abbrev-ref --symbolic-full-name @{upstream} - trigger = !git commit --allow-empty --no-edit --amend && git pushes --force-with-lease + trigger = !git commit --allow-empty --no-edit --amend && git push --force-with-lease [color] grep = true -- GitLab