view dot_gitconfig.tmpl @ 821:03e120882791

feat: install pre-commit
author zegervdv <zegervdv@me.com>
date Fri, 15 Dec 2023 08:05:00 +0100
parents 83bf3561016d
children
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 = settle
[mergetool "settle"]
	cmd = "nvim -f $BASE $LOCAL $REMOTE $MERGED -c 'SettleInit'"
	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 = hx
	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
[diff "gpg"]
  textconv = gpg --no-tty --decrypt