Update
This commit is contained in:
parent
440a3d2114
commit
348e15d946
5 changed files with 83 additions and 59 deletions
21
.gitconfig
21
.gitconfig
|
|
@ -6,11 +6,11 @@
|
|||
[core]
|
||||
editor = nvim
|
||||
autocrlf = input
|
||||
pager = diff-so-fancy | less --tabs=4 -RFX
|
||||
compression = 9
|
||||
[pull]
|
||||
rebase = false
|
||||
[color]
|
||||
ui = true
|
||||
ui = auto
|
||||
[push]
|
||||
default = current
|
||||
[alias]
|
||||
|
|
@ -22,20 +22,7 @@
|
|||
# (better for interactive use)
|
||||
stat = !bash -c 'source $HOME/.bashrc && git diff --stat $(git merge-base HEAD \"$(git basebranch)\")'
|
||||
review = !nvim -p $(git files) +\"tabdo Gdiff $(git basebranch)\" +\"let g:gitgutter_diff_base = '$(git basebranch)'\"
|
||||
[interactive]
|
||||
diffFilter = diff-so-fancy --patch
|
||||
[color "diff-highlight"]
|
||||
oldNormal = red bold
|
||||
oldHighlight = red bold 52
|
||||
newNormal = green bold
|
||||
newHighlight = green bold 22
|
||||
[color "diff"]
|
||||
meta = 11
|
||||
frag = magenta bold
|
||||
func = 146 bold
|
||||
commit = yellow bold
|
||||
old = red bold
|
||||
new = green bold
|
||||
whitespace = red reverse
|
||||
[commit]
|
||||
gpgsign = true
|
||||
[init]
|
||||
defaultBranch = master
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue