From a8240d8f20d2467cff4c7dedfc499b435dfcb02a Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 11 Feb 2020 19:43:39 +0100 Subject: git: Add rewrite alias for github pull request force-push reordering --- .config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/git/config b/.config/git/config index 6e06c87..626a692 100644 --- a/.config/git/config +++ b/.config/git/config @@ -12,6 +12,7 @@ grp = !git --no-pager grep --color=auto tree = log --oneline --decorate --graph t3x-pack = "!sh -c 'git archive -o \"${PWD##*/}_`git describe --tags`.zip\" HEAD'" + rewrite = rebase -x 'git commit --amend -C HEAD --date=\"$(date -R)\" && sleep 1.05' branch-info = "!sh -c 'git branch --no-color | \ sed -e \"s/*/ /\" | \ while read branch; do \ -- cgit