workstation/roles/home-cli/files/gitconfig

31 lines
628 B
Text

# Set environment variable GIT_CONFIG_NOSYSTEM=true to ignore the Git
# system-wide config file (normally /etc/gitconfig).
[core]
autocrlf = true
[pull]
ff = only
rebase = false
[push]
default = simple
[color]
ui = auto
[init]
defaultBranch = main
[gui]
encoding = utf-8
[guitool "Rebase"]
cmd = rebase
[alias]
graph = log --graph --oneline --all
l1 = log --pretty=oneline
last = log -1 HEAD --pretty=fuller
lastmail = format-patch --stdout -1 HEAD
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[include]
path = windows
path = local