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