view dot_gitconfig.tmpl @ 508:ee04e4821479

load direnv settings
author zegervdv <zegervdv@me.com>
date Sat, 18 Dec 2021 10:40:13 +0100
parents 41a48a26b0aa
children cf71ce0b06d3
line wrap: on
line source

[user]
	email = {{ .email }}
	name = {{ .name }}
	signingkey = {{ .signingkey }}
[rebase]
	autosquash = true
	autostash = true
[commit]
{{- if ne .signingkey "" }}
	gpgsign = true
{{- end }}
	verbose = true
[pull]
	rebase = true
[gpg]
	program = gpg
[merge]
	tool = splice
[mergetool "splice"]
	cmd = "nvim -f $BASE $LOCAL $REMOTE $MERGED -c 'SpliceInit'"
	trustExitCode = true
[alias]
	ls = log --format=\"%C(auto)%h %<(15)%C(auto, green)%cr %>(20)%C(auto, magenta)%an %C(auto)%s %D\"
	tags = tag -l --sort creatordate --column
[core]
	excludesfile = ~/.gitignore
	editor = nvim
	autocrlf = input
	pager = less -+F
[help]
	autocorrect = 1
[color]
	diff = always
	status = always
	branch = always
	ui = true
{{- if eq .chezmoi.username "zvandeva" }}
[url "https://"]
	insteadOf = git://
{{- end }}
[rerere]
	enabled = 1
[filter "lfs"]
  clean = git-lfs clean -- %f
  smudge = git-lfs smudge -- %f
  process = git-lfs filter-process
  required = true
[include]
  path = ~/.gitconfig.local