Update gitconfig

This commit is contained in:
Rob Watson 2022-02-07 18:47:46 +01:00
parent e98642c88e
commit c1fd954a88
1 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@
cols = !git checkout $(git branch | fzf)
cp = cherry-pick
cp2 = "!fn() { git cherry-pick $1~2..$1; }; fn"
cp3 = "!fn() { git cherry-pick $1~3..$1; }; fn"
cpls = !git cp $(git ls)
d = diff
dls = !git diff $(git branch | fzf)
@ -78,8 +79,9 @@
st = stash
sy = !gitsha1yank -s
sum = show --stat
undo = reset --soft HEAD^
sshp = stash show -p
undo = reset --soft HEAD^
wip = !git add . && git commit -m 'WIP'
[user]
email = rob@netflux.io
name = Rob Watson