33 lines
946 B
Plaintext
33 lines
946 B
Plaintext
[pager]
|
|
diff = delta
|
|
log = delta
|
|
reflog = delta
|
|
show = delta
|
|
|
|
[filter "lfs"]
|
|
smudge = git-lfs smudge -- %f
|
|
process = git-lfs filter-process
|
|
required = true
|
|
clean = git-lfs clean -- %f
|
|
[alias]
|
|
lg = log --color --graph --pretty=format:'%Cblue%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold cyan)<%an>%Creset' --abbrev-commit
|
|
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f"
|
|
[mergetool.fugitive]
|
|
cmd = nvim -c \"Gvdiffsplit\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\"
|
|
[merge]
|
|
tool = fugitive
|
|
[difftool "fugitive"]
|
|
cmd = nvim -c \"Gvdiffsplit\" \"$LOCAL\" \"$REMOTE\"
|
|
[diff]
|
|
tool = fugitive
|
|
|
|
[delta]
|
|
featurs = side-by-side line-numbers decorations
|
|
|
|
[delta "decorations"]
|
|
commit-decoration-style = bold yellow box ul
|
|
file-style = bold yellow ul
|
|
file-decoration-style = none
|
|
[init]
|
|
defaultBranch = main
|