# vim: set filetype=cfg noexpandtab:

[user]
	name = Dan Buch
	email = dan@meatballhat.com
	signingkey = A12F782281063434!

[github]
	user = meatballhat

[core]
	excludesfile = ~/.git-global-ignores
	editor = vim
	filemode = true
	autocrlf = false
	pager = less -FRXx2

[clean]
	requireForce = false

[branch]
	autosetuprebase = remote
	autosetupmerge = true
	mergeoptions = --no-commit --no-ff

[daemon]
	uploadpack = true
	uploadarch = true
	receivepack = true

[push]
	default = current

[pull]
	rebase = false

[fetch]
	prune = true

[color]
	ui = auto

[color "branch"]
	current = yellow reverse
	local = yellow
	remote = green

[color "diff"]
	meta = yellow bold
	frag = magenta bold
	old = red bold
	new = green bold

[color "status"]
	added = yellow
	changed = green
	untracked = cyan

[alias]
	hug = blame
	lograph = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)'

[commit]
	template = ~/.gittemplate
	gpgsign = true

[tag]
	gpgsign = true
	forceSignAnnotated = true

[gpg]
	program = gpg-sq

[init]
	templatedir = ~/.config/git_template
	defaultBranch = main

[credential]
	helper = store

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