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',
23 'alias.ci': 'commit -S',
24 'alias.commit': 'commit -S',
26 'alias.vh': 'verify-commit HEAD',
27 'alias.vc': 'verify-commit',
29 'alias.tag': 'tag -s',
31 'alias.alias': '!req=$\'\\033[0;31m=\\033[0m\'; git config --get-regexp ^alias\. | sed -e s/^alias\.// -e "s/\ /\t$req\ /"',
32 'alias.r': 'rebase -S',
33 'alias.m': 'merge -S',
34 'alias.pa': '!git remote | xargs L1 git push --all',
38 {% for var,val in git_confs.items() %}
44 - user: {{ grains['user'] }}
49 - name: {{ grains['homedir'] }}/.gitignore
50 - source: {{ grains['stateroot'] }}/git/files/gitignore
52 - user: {{ grains['user'] }}
53 - group: {{ grains['user'] }}