summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <bfr@qbus.de>2020-02-11 19:43:39 +0100
committerBenjamin Franzke <bfr@qbus.de>2020-02-11 19:43:39 +0100
commita8240d8f20d2467cff4c7dedfc499b435dfcb02a (patch)
tree236e947171e2e9d151595e91a839c7360dd2cc2b
parent6e52305f9c32aa07bdf37ec932e0d2727b01257d (diff)
downloaddotfiles-a8240d8f20d2467cff4c7dedfc499b435dfcb02a.tar.gz
dotfiles-a8240d8f20d2467cff4c7dedfc499b435dfcb02a.tar.bz2
dotfiles-a8240d8f20d2467cff4c7dedfc499b435dfcb02a.zip
git: Add rewrite alias for github pull request force-push reordering
-rw-r--r--.config/git/config1
1 files changed, 1 insertions, 0 deletions
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 \