forked from amarshall/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 3
/
gitconfig
45 lines (45 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
[advice]
commitBeforeMerge = false
detachedHead = false
pushNonFastForward = false
resolveConflict = false
statusHints = false
[alias]
amend = commit --amend -C HEAD
co = checkout
dc = diff --cached
fixup = commit --fixup
pop = reset --soft head~1
reword = commit --only --amend
root = rev-parse --show-toplevel
st = status
unpulled = !"git fetch && git log HEAD..@{u}"
unpushed = log @{u}..HEAD
[color]
ui = auto
[color "diff-highlight"]
oldHighlight = "black red"
newHighlight = "black green"
[core]
autocrlf = input
excludesfile = ~/.gitignore
[fetch]
prune = true
[interactive]
diffFilter = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight
[log]
decorate = true
[pager]
diff = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | $PAGER
log = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | $PAGER
show = /usr/local/share/git-core/contrib/diff-highlight/diff-highlight | $PAGER
unpulled = false
unpushed = false
[pull]
ff = only
[push]
default = simple
[include]
path = .gitconfig_local
[rebase]
autosquash = true