From 936c791bf56a4af359d9cc5d48b480bcd3668aff Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Fri, 22 Jan 2021 20:10:39 +0200 Subject: [PATCH] Git alias for amending and shoving. --- .config/git/config | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/git/config b/.config/git/config index 8d2cba6..5ced790 100644 --- a/.config/git/config +++ b/.config/git/config @@ -23,6 +23,7 @@ pushes = !git remote | xargs -n1 git push remaster = !git fetch --all && git autorebase origin/master rerebase = !git autorebase "$(git tracking)" + retry = !git amend --no-edit . && git shove root = rev-parse --show-toplevel serve-git = daemon --reuseaddr --verbose --base-path=. --export-all ./.git serve-http = !git update-server-info && cd .git && python -m http.server 8080 -- GitLab