[BREAKING] use configureable gitconfig file
This commit is contained in:
parent
a2cd7e0f5f
commit
247f6cccb6
3 changed files with 34 additions and 15 deletions
14
templates/_gitconfig.j2
Normal file
14
templates/_gitconfig.j2
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue