2 - git.{{ grains['os'] | lower }}
7 'color.branch': 'always',
8 'color.status': 'always',
9 'color.interactive': 'always',
11 'user.name': 'Maximilian Friedersdorff',
12 'user.email': 'max@friedersdorff.com',
13 'user.signingkey': 'F5E7FCB3',
15 'core.excludesfile': '/home/' + grains['user'] + '/.gitignore',
16 'merge.tool': 'diffuse',
18 'push.default': 'simple',
19 'alias.lg': 'lg = log --graph --pretty=format:\'%Cred%h%Creset %G? %ad %s %C(bold blue)<%an>%Creset %C(yellow)%d%Creset\' --date=short',
20 'alias.hist': 'log --graph --full-history --all --pretty=format:\'%Cred%h%Creset %G? %ad %s %C(bold blue)<%an>%Creset %C(yellow)%d%Creset\' --date=short',
21 'alias.struct': 'struct = log --graph --full-history --all --pretty=format:\'%ad %s %Creset %C(yellow)%d%Creset\' --date=short --simplify-by-decoration',
22 'alias.co': 'checkout',
28 {% for var,val in git_confs.items() %}
33 - user: {{ grains['user'] }}
38 - name: {{ grains['homedir'] }}/.gitignore
39 - source: {{ grains['stateroot'] }}/git/files/gitignore
41 - user: {{ grains['user'] }}
42 - group: {{ grains['user'] }}