[user]
	name = Fabian Peter Hammerle
	email = fabian@hammerle.me
	signingkey = 8D2902FE7DF47DDEDA2802F9456B9A0399A5DA2F

[core]
	excludesfile = ~/.config/git/gitignore
	# hooksPath = ~/.config/git/hooks

[interactive]
	singleKey = true

[status]
	branch = true
	short = true
	showUntrackedFiles = normal

[grep]
	lineNumber = true

[diff]
	tool = vimdiff

[diff "db_dump"]
	textconv = db_dump

[diff "hexdump"]
	textconv = od -t x1z --

[diff "pgpdump"]
	textconv = pgpdump

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

[commit]
	gpgsign = true
	verbose = true

[rebase]
	instructionFormat = %G? %s (%an <%ae>, %ai)
	autostash = true

[push]
	default = simple

[url "git@github.com:"]
	pushInsteadOf = https://github.com/

[tag]
	forceSignAnnotated = true

[log]
	date = iso8601-strict

[gcrypt]
	participants = 8D2902FE7DF47DDEDA2802F9456B9A0399A5DA2F
	publish-participants = false

[annex]
	securehashesonly = true
	autocommit = false
	synccontent = true
	# copy instead of hard-linking when unlocking
	thin = false
	# assistant: do not auto delete unused files
	expireunused = false
	# fixes sync of repos inside encfs mounts
	ssh-options = -S~/.ssh/%r@%n:%p

[alias]
	a = add
	c = commit
	d = diff
	f = fetch --prune
	p = push --verbose
	s = status
	t = for-each-ref --sort taggerdate --format '%(taggerdate:iso) %(objectname) %(tag)' refs/tags
	tree = log --graph --format=format:'%C(red)%G?%C(reset) %C(yellow)%h%C(reset)%C(blue)%d%C(reset) %C(dim green)%ar%C(reset) %C(white)%s%C(reset) %C(dim cyan)(%an, %ai)%C(reset)' --all
	x = annex