Markus Katharina Brechtel преди 3 години
родител
ревизия
ffff84df17
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. +8
    -0
      templates/git/gitconfig.j2

+ 8
- 0
templates/git/gitconfig.j2 Целия файл

@@ -1,5 +1,13 @@
[user]
{% if git_user_email is defined %}
email = {{git_user_email}}
{% endif %}
{% if git_user_name is defined %}
name = {{git_user_name}}
{% endif %}
[init]
defaultBranch = main
{% if github_username is defined %}
[github]
user = {{github_username}}
{% endif %}