[core]
    excludesfile = ~/.config/git/ignore
    editor = "$EDITOR"
    pager = "$PAGER -+C -F"
    fileMode = true
    whitespace = fix,trailing-space,cr-at-eol
    autocrlf = input
	quotepath = false

[i18n]
    commitEncoding = utf-8
	logOutputEncoding = utf-8

[init]
    defaultBranch = main

[push]
    default = current

[pull]
    rebase = false
    ff = only

[color]
    status = auto
    diff = auto
    branch = auto
    interactive = auto
    grep = auto
    ui = auto

[advice]
    addEmptyPathspec = false

[log]
    abbrevCommit = true

[apply]
    whitespace = fix

[rerere]
    enabled = true

[diff]
    mnemonicPrefix = true
    suppressBlankEmpty = true
    rename = copy
    submodule = short
    algorithm = histogram
    colormoved = default
    colormovedws = allow-indentation-change

[include]
    path = ~/.config/git/url-aliases
    path = ~/.config/git/aliases
    path = ~/.config/git/local

[filter "lfs"]
	clean = git-lfs clean -- %f
	smudge = git-lfs smudge -- %f
	process = git-lfs filter-process
	required = true
