Skip to content
Snippets Groups Projects
Commit 39f395d9 authored by nimrod's avatar nimrod
Browse files

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).
parent d805f505
No related branches found
No related tags found
No related merge requests found
Pipeline #1078 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment