[alias]
	lg = "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
	st = "status -s"
	undo = "reset HEAD~1 --mixed"
	smu = "submodule update --init --recursive"
	ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
	up = "pull --rebase --autostash"
	cleanup = "!git branch -vv|grep ': gone]'|awk '{print $1}'|xargs git branch -D"

[commit]
	gpgsign = true

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

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

[github]
	user = "walkah"

[gpg]
	format = "ssh"

[gpg "ssh"]
	allowedSignersFile = "~/.ssh/allowed_signers"

[init]
	defaultBranch = "main"

[pull]
	rebase = true

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

[rebase]
	autoStash = true

[user]
	email = "walkah@walkah.net"
	name = "James Walker"
	signingkey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOxgkaPcUYkMjk7SEBFrYpJ2mGK+8iPgLYwV+XpNp5Nl"
