-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
51 lines (40 loc) · 1023 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[alias]
# Add
a = add
ia = add -p
# Diffs
di = diff
dis = diff --stat
diw = diff --color-words
dc = diff --cached
# Log
lg = log --decorate --graph --format=line
# Status
st = status
co-fork = "!source ~/.scripts/git-fork.zsh"
[diff]
mnemonicPrefix = true
wordRegex = "[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+"
[color]
ui = auto
[color "grep"]
match = cyan bold
selected = blue
context = normal
filename = magenta
linenumber = green
separator = yellow
function = blue
[pretty]
line = "%C(auto)%h%d %s %C(yellow)by %C(blue)%an %C(green)%ar"
compact = "%C(auto)%h %s %C(green)%ar%n %C(auto)%d%n"
detail = "%C(auto)%h %s%n %C(yellow)by %C(blue)%an %C(magenta)<%ae> [%G?] %C(green)%ar%n %C(auto)%d%n"
[grep]
lineNumber = true
[core]
autocrlf = input
editor = vim
excludesfile = ~/.gitignore_global
# Allow local customizations in the .gitconfig_local file
[include]
path = ~/.gitconfig_local