dotfiles/common/gitconfig
2024-12-01 07:41:57 +00:00

23 lines
668 B
Text

# $XDG_CONFIG_HOME/git/config
# %USERPROFILE%\.gitconfig # No XDG support on Windows
# ln -sf $DOTFILES/.config/git/.gitconfig $XDG_CONFIG_HOME/git/config
# New-Item -ItemType SymbolicLink -Path "$Env:XDG_CONFIG_HOME\git\config" -Target "$DOTFILES\.config\git\.gitconfig"
[user]
name = js0ny
email = json.y@outlook.com
[core]
editor = nvim
pager = delta
autocrlf = input
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true
dark = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[url "git@github.com:"]
insteadOf = https://github.com/