-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
52 lines (52 loc) · 1.08 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
[core]
editor = vim
autocrlf = input
safecrlf = false
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager=less -F -X
[user]
name = Pavel Berezhnoy
email = [email protected]
[push]
default = current
[credential]
helper = cache --timeout=3600
[color]
branch = true
interactive = true
diff = true
grep = true
status = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = normal
frag = magenta bold
old = red
new = green
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
st = status --short
sh = show
co = checkout
lg = log --pretty=oneline
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
conflicts = !git ls-files --unmerged | cut -f2 | sort -u | xargs grep -El '<<<<<<<|=======|>>>>>>>'
unmerged = !git ls-files --unmerged | cut -f2 | sort -u
d = difftool
cdiff = diff --cached
[diff]
renames = copy
tool = vimdiff
[difftool]
prompt = false
[status]
showUntrackedFiles = no