-
Notifications
You must be signed in to change notification settings - Fork 2
/
gitconfig
29 lines (25 loc) · 837 Bytes
/
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
[color "branch"]
current = green bold
local = green
remote = yellow
[color "diff"]
frag = magenta
meta = yellow
new = green
old = red
[color "status"]
added = green
changed = yellow
untracked = red
[core]
attributesfile = ~/.gitattributes
autocrlf = input
editor = vim
excludesfile = ~/.gitignore
[pretty]
custom = "%C(magenta)%h%C(red)%d %C(yellow)%ar %C(green)%s %C(yellow)(%an)"
# │ │ │ │ └─ author name
# │ │ │ └─ message
# │ │ └─ date (relative)
# │ └─ decorations (branch, heads or tags)
# └─ hash (abbreviated)