Files
dotfiles/gitconfig

42 lines
750 B
Plaintext

[push]
default = simple
[core]
autocrlf = input
[filter "lfs"]
clean = git-lfs clean -- %f
process = git-lfs filter-process
required = true
smudge = git-lfs smudge -- %f
[pull]
rebase = false
[init]
defaultBranch = main
[alias]
c = commit
d = diff
dl = diff HEAD^ HEAD
ds = diff --staged
l = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
s = status
branches = branch -avv
staash = stash --all
supdate = submodule update --remote
srupdate = submodule update --recursive
[merge]
tool = nvimdiff
[core]
editor = nvim
[rerere]
enabled = true
[include]
path = ~/.config/git/local