config/git: add diff aliases & diffr
This commit is contained in:
parent
758d0542b0
commit
d1f5cf4b79
|
@ -1,6 +1,9 @@
|
|||
[core]
|
||||
autocrlf = input
|
||||
editor = nvim
|
||||
pager = diffr | less -R
|
||||
[interactive]
|
||||
diffFilter = diffr
|
||||
[submodule]
|
||||
recurse = true
|
||||
[rerere]
|
||||
|
@ -76,6 +79,12 @@
|
|||
co-authors = !git log | grep -i Co-Authored | awk '!a[$0]++'
|
||||
when = git for-each-ref --sort=committerdate --format='%(refname:short) * %(authorname) * %(committerdate:relative)' refs/remotes/ # List all branches with their last updates
|
||||
|
||||
d = diff
|
||||
dw = diff --color-words
|
||||
dc = diff --color-words="[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+"
|
||||
|
||||
# MODIFY
|
||||
|
||||
# Local Changes
|
||||
a = add -u
|
||||
aa = add -u .
|
||||
|
|
Loading…
Reference in New Issue