dotfiles/common/gitconfig.example
2024-12-05 20:06:17 +00:00

23 lines
669 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 = whoami
email = whoami@example.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/