-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
50 lines (49 loc) · 851 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
# .gitconfig
[alias]
amend = commit --amend
br = branch
cm = commit
co = checkout
cob = checkout -b
d = difftool
lg = log
notrack = update-index --assume-unchanged
pl = pull
pu = push
pushup = push --set-upstream
rsth = reset --hard
st = status
track = update-index --no-assume-unchanged
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
autocrlf = false
excludesfile = ~/.gitignore
pager = less -iXFR
editor = vim
[diff]
tool = vimdiff
[difftool]
prompt = false
[fetch]
prune = true
[push]
default = simple
# use separate file for git credentials
[include]
path = ~/.gitconfig.local