From ccb96ec5ece32e8d6cf0fa021723d4ba518879c5 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 13 Oct 2021 15:23:56 +0200 Subject: [PATCH] gitconfig: add aliases --- gitconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gitconfig b/gitconfig index edc134c..1a821c6 100644 --- a/gitconfig +++ b/gitconfig @@ -24,6 +24,7 @@ cp = cherry-pick cpls = !git cp $(git ls) d = diff + dls = !git diff $(git branch | fzf) dom = diff origin/master drb = !git diff $(git rb) ds = diff --staged @@ -55,6 +56,8 @@ re = rebase rels = !git rebase $(git branch | fzf) rh = reset --hard + ri = rebase -i --autosquash + rils = !git rebase -i --autosquash $(git branch | fzf) rom = !sh -c 'git fetch && git rebase origin/master' rr = !sh -c 'git fetch && git reset --hard $(git rb)' rv = revert