From daa8beedbb13dac025f11252c46bfab05b5c407d Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 28 Jul 2021 09:16:32 +0200 Subject: [PATCH] gitconfig: add revert aliases --- gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitconfig b/gitconfig index 7ef5ba9..ce33a46 100644 --- a/gitconfig +++ b/gitconfig @@ -52,6 +52,9 @@ rh = reset --hard rom = !sh -c 'git fetch && git rebase origin/master' rr = !sh -c 'git fetch && git reset --hard $(git rb)' + rv = revert + rvh = revert HEAD + rvnh = revert -n HEAD s = status shp = show -p sl = stash list