]> git.immae.eu Git - perso/Immae/Config/Ansible.git/blame - roles/git/templates/config.j2
Add some git configuration
[perso/Immae/Config/Ansible.git] / roles / git / templates / config.j2
CommitLineData
397c4fed 1[user]
dfd05afe 2 signingkey = {{ gpg_sign_id }}
397c4fed
IB
3{% if profile in role and role[profile] == "fretlink" %}
4 email = ismael.bouya@fretlink.com
5{% else %}
6 email = ismael.bouya@normalesup.org
7{% endif %}
8 name = Ismaël Bouya
9[commit]
10 gpgsign = true
11 verbose = true
c9c165d1
IB
12[fetch]
13 prune = true
14[pull]
15 rebase = true
397c4fed
IB
16[push]
17 gpgSign = if-asked
18{% if profile in role and role[profile] == "fretlink" %}
19[fretlink]
20 remote-name = upstream
c9c165d1
IB
21[remote]
22 pushDefault = origin
23[branch "development.stgit"]
24 stackformatversion = 2
25[branch "development"]
26 remote = upstream
27 pushRemote = origin
28 merge = refs/heads/development
29[branch "master.stgit"]
30 stackformatversion = 2
31[branch "master"]
32 remote = upstream
33 pushRemote = origin
34 merge = refs/heads/master
35 mergeOptions = --no-ff --no-edit
397c4fed
IB
36{% endif %}
37[log]
38 showSignature = true
39{% if profile in role %}
40[init]
41 templateDir = ~/.config/git/templates_{{ role[profile] }}
42{% endif %}