-
Notifications
You must be signed in to change notification settings - Fork 10
/
gitconfig
51 lines (50 loc) · 1.07 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
[include]
path = local/user
path = local/stuff
[push]
default = current
followTags = true
[branch]
autoSetupRebase = always
[merge]
ff = only
conflictStyle = zdiff3
[rebase]
autoStash = true
[alias]
lg = log --graph --pretty=fuller --decorate --color --show-signature
ls = log --oneline --abbrev-commit --color
amend = commit --amend
[credential]
helper = cache --socket ~/.cache/git-credential-cache/socket
[diff]
algorithm = histogram
ignoreSubmodules = dirty
submodule = log
[core]
excludesFile = ~/.config/git/ignore
autocrlf = input
whitespace = cr-at-eol
untrackedCache = true
[pager]
diff = which diff-so-fancy >/dev/null 2>&1 && diff-so-fancy | less --tabs=4 -RFX || less --tabs=4 -RFX
[submodule]
fetchJobs = 0
recurse = true
[help]
autoCorrect = 5
[status]
submoduleSummary = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
# vi: ft=gitconfig