Pārlūkot izejas kodu

git config

pull/1/head
vecāks
revīzija
ffff84df17
1 mainītis faili ar 8 papildinājumiem un 0 dzēšanām
  1. +8
    -0
      templates/git/gitconfig.j2

+ 8
- 0
templates/git/gitconfig.j2 Parādīt failu

@@ -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 %}