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': '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': 'log --graph --full-history --all --pretty=format:\'%ad %s %Creset %C(yellow)%d%Creset\' --date=short --simplify-by-decoration',
22 'alias.co': 'checkout',
25 'alias.vh': 'verify-commit HEAD',
26 'alias.vc': 'verify-commit',
28 'alias.tag': 'tag -s',
30 'alias.alias': '!req=$\'\\033[0;31m=\\033[0m\'; git config --get-regexp ^alias\. | sed -e s/^alias\.// -e "s/\ /\t$req\ /"',
33 'alias.pa': '!git remote | xargs -L1 git push --all',
37 {% for var,val in git_confs.items() %}
43 - user: {{ grains['user'] }}
48 - name: {{ grains['homedir'] }}/.gitignore
49 - source: {{ grains['stateroot'] }}/git/files/gitignore
51 - user: {{ grains['user'] }}
52 - group: {{ grains['user'] }}