update gitconfig and nvimrc
This commit is contained in:
parent
adcab9d77f
commit
6d02791a65
|
@ -26,6 +26,7 @@
|
|||
cp = cherry-pick
|
||||
cp2 = "!fn() { git cherry-pick $1~2..$1; }; fn"
|
||||
cp3 = "!fn() { git cherry-pick $1~3..$1; }; fn"
|
||||
cp4 = "!fn() { git cherry-pick $1~4..$1; }; fn"
|
||||
cpls = !git cp $(git ls)
|
||||
d = diff
|
||||
dls = !git diff $(git branch | fzf)
|
||||
|
@ -43,7 +44,9 @@
|
|||
lm = logme
|
||||
logme = !sh -c 'git log --author=\"$(git config --get user.name)\"'
|
||||
ls = !git branch --format '%(refname:short)' | fzf
|
||||
mls = !git merge $(git ls)
|
||||
mr = !git merge $(git rb)
|
||||
mrb = mr
|
||||
mt = merge -s recursive -X theirs
|
||||
nb = checkout -b
|
||||
nuke1 = reset --hard HEAD^
|
||||
|
@ -83,6 +86,7 @@
|
|||
sshp = stash show -p
|
||||
undo = reset --soft HEAD^
|
||||
wip = !git add . && git commit -m 'WIP'
|
||||
wt = worktree
|
||||
[user]
|
||||
email = rob@netflux.io
|
||||
name = Rob Watson
|
||||
|
|
Loading…
Reference in New Issue