From 0ce36c1f1d1d069f56190f4f629f52a1bd68efd8 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Mon, 3 May 2021 10:17:01 +0200 Subject: [PATCH] gitconfig: add aliases --- gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitconfig b/gitconfig index ee61b5c..5e8ec3f 100644 --- a/gitconfig +++ b/gitconfig @@ -7,6 +7,7 @@ bn = rev-parse --abbrev-ref HEAD br = branch chp = checkout -p + cf = !git commit --fixup $(git log --invert-grep --grep fixup -n1 --oneline --format=format:%h) ci = commit cl = clone cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' -- @@ -14,6 +15,7 @@ cob = !git checkout $(git branch | fzf) cp = cherry-pick d = diff + dom = diff origin/master ds = diff --staged f = fetch fixup = rebase -i --autosquash