about summary refs log tree commit diff
path: root/config/git/config.nix
blob: 88fa7220fe4de19f99b7d5ecc56e2e5419e8d44e (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
43
44
45
46
47
48
49
50
51
52
53
54
55
''
[core]
    attributesfile = ${./attributes}
    excludesfile = ${./ignore}
[user]
    name = Alyssa Ross
    email = hi@alyssa.is
[alias]
    ignore = "!gi() { curl -L -s https://www.gitignore.io/api/$@ ;}; gi"
    unbranch = "!git branch --sort -HEAD --merged | sed 1d | xargs git branch -d"
[push]
    default = current
[merge]
    conflictstyle = diff3
    tool = opendiff
[color "branch"]
    current = yellow reverse
    local = yellow
    remote = green
[color "diff"]
    meta = yellow bold
    frag = magenta bold
    old = red bold
    new = green bold
[color "status"]
    added = yellow
    changed = green
    untracked = cyan
[commit]
    gpgsign = true
    verbose = true
[help]
    autocorrect = 1
[filter "lfs"]
    smudge = git-lfs smudge -- %f
    required = true
    clean = git-lfs clean -- %f
[diff]
    compactionHeuristic = true
    renameLimit = 0
    wsErrorHighlight = all
[credential]
    helper = osxkeychain
[hub]
    protocol = ssh
[branch]
    autosetuprebase = always
[diff "plist"]
    textconv = /usr/bin/plutil -convert xml1 -o -
[format]
    pretty = format:%Cred%h %C(magenta)%G? %Cgreen(%ar)%Creset -%C(bold red)%d%Creset %s %C(bold blue)<%aN>%Creset
[grep]
    lineNumber = true
    patternType = perl
''