-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
58 lines (54 loc) · 2.59 KB
/
gitconfig
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
56
57
58
[core]
#autocrlf = true # Windows
autocrlf = input # Linux
editor = vim
[user]
name = "Chris Coley"
email = [email protected]
[credential]
helper = cache --timeout=43200
[push]
default = simple
[merge]
log = 50
[diff]
compactionHeuristic = true
algorithm = histogram
[alias]
; helpers
alias = config --get-regexp ^alias\\.
colors = log -1 HEAD --color --pretty=format:' \
Plain %C(magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
BOLD %C(bold magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
DIM %C(dim magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
UL %C(ul magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
STRIKE %C(strike magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
BLINK %C(blink magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)%n \
REVERSE %C(reverse magenta)magenta %C(red)red %C(yellow)yellow %C(green)green %C(cyan)cyan %C(blue)blue %C(black)black %C(white)white %C(normal)normal%C(reset)'
; 'git log' aliases
ll = log --stat --pretty=format:'%C(auto)%h %C(blue bold)%cs%C(auto)%d %s %C(yellow bold)<%an> %C(cyan bold)%G?%C(reset)'
lg = log --color --graph --pretty=format:'%C(auto)%h %C(blue bold)%cs%C(auto)%d %s %C(yellow bold)<%an> %C(cyan bold)%G?%C(reset)'
lga = log --all --color --graph --pretty=format:'%C(auto)%h %C(blue bold)%cs%C(auto)%d %s %C(yellow bold)<%an> %C(cyan bold)%G?%C(reset)'
; everything else
ahead = show --name-status @{u}..HEAD
behind = show --name-status HEAD..@{u}
changed = show --name-status
fs = !git fetch && git status
last = show --name-status HEAD
pf = pull --ff-only
st = status
stat = status
sti = status --ignored
unstage = reset HEAD --
[diff "ansible-vault"]
textconv = PAGER=cat ansible-vault view
cachetextconv = false
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
; Include additional config files
[include]
path = ~/.gitconfig.local
; vi: set ts=4 sw=4 et ft=gitconfig: