/
.gitconfig
61 lines (49 loc) · 1.09 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
52
53
54
55
56
57
58
59
60
61
[url "git@github.com:"]
insteadOf = gh:
[user]
name = Pavel Puchkin
email = i@neoascetic.me
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[rerere]
enabled = 1
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
filemode = true
sharedRepository = group
excludesfile = ~/.gitexclude
editor = vim
[alias]
co = checkout
cm = commit -v
amend = commit --amend -C HEAD
reword = commit --amend
undo = reset --soft HEAD^
up = remote update
st = status -sb
df = diff --color-words
hist = log --pretty=format:'%Cred%h%Creset %ad | %Cgreen%s%d%Creset [%an]' --graph --date=short
mg = merge --no-ff
[push]
default = current
[merge]
tool = vimdiff
[github]
user = neoascetic
[branch "master"]
remote = origin
merge = refs/heads/master