mirror of
https://github.com/morten-olsen/configs.git
synced 2026-02-08 00:46:24 +01:00
34 lines
586 B
Django/Jinja
34 lines
586 B
Django/Jinja
[user]
|
|
email = {{ git.email }}
|
|
name = {{ git.name }}
|
|
{% if 'signing_key' in git %}
|
|
signingkey = {{ git.signing_key }}
|
|
|
|
[commit]
|
|
gpgsign = true
|
|
|
|
[gpg]
|
|
format = ssh
|
|
|
|
[gpg "ssh"]
|
|
{% if mac_os %}
|
|
program = "/Applications/1Password.app/Contents/MacOS/op-ssh-sign"
|
|
{% else %}
|
|
program = "/opt/1Password/op-ssh-sign"
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if 'replacements' in git %}
|
|
{% for replacement in git.replacements %}
|
|
|
|
[url "{{ replacement.use }}"]
|
|
insteadOf = "{{ replacement.instead_of }}"
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
|
|
[url "git@github-{{name}}:"]
|
|
insteadOf = https://github.com/
|
|
|