[alias]
	dfw = "diff -w --ignore-blank-lines"

[branch]
	sort = "-committerdate"

[column]
	ui = "auto"

[commit]
	gpgSign = true
	gpgsign = true
	verbose = true

[core]
	autocrlf = "input"
	editor = "vim"
	excludeFiles = "~/.gitignore"
	fsmonitor = true
	untrackedCache = true
	whitespace = "-trailing-space,-indent-with-non-tab,-tab-in-indent"

[diff]
	algorithm = "histogram"
	colorMoved = "plain"
	mnemonicPrefix = true
	renames = true

[diff "sopsdiffer"]
	textconv = "sops decrypt"

[fetch]
	all = true
	prune = true
	pruneTags = true

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

[gpg]
	format = "ssh"

[gpg "ssh"]
	allowedSignersFile = "~/.config/git/allowed_signers"
	program = "ssh-keygen"

[help]
	autocorrect = "prompt"

[init]
	defaultBranch = "main"

[merge]
	conflictstyle = "zdiff3"

[pull]
	rebase = true

[push]
	autoSetupRemote = true
	default = "simple"
	followTags = true

[rebase]
	autoSquash = true
	autoStash = true
	updateRefs = true

[rerere]
	autoupdate = true
	enabled = true

[tag]
	gpgSign = true
	sort = "version:refname"

[user]
	email = "EMAIL"
	name = "Ivan Ilak"
	signingKey = "~/.ssh/ssh_git_signing_key.pub"
