gitconfig: add aliases

This commit is contained in:
Rob Watson 2021-05-03 10:17:01 +02:00
parent 9f49433dd9
commit 0ce36c1f1d
1 changed files with 2 additions and 0 deletions

View File

@ -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