[BREAKING] use configureable gitconfig file

This commit is contained in:
Jannik Beyerstedt 2020-01-16 10:46:42 +01:00
parent a2cd7e0f5f
commit 247f6cccb6
3 changed files with 34 additions and 15 deletions

14
templates/_gitconfig.j2 Normal file
View file

@ -0,0 +1,14 @@
{% if gitconfig_name is defined and gitconfig_email is defined %}
[user]
name = {{ gitconfig_name }}
email = {{ gitconfig_email }}
{% endif %}
[core]
excludesfile = ~/.gitignore_global
editor = vi
[push]
default = matching
[color]
ui = auto
[help]
autocorrect = 1