-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitconfig
70 lines (69 loc) · 1.44 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
62
63
64
65
66
67
68
69
70
[color]
ui = on
[user]
email = [email protected]
name = Shadab Zafar
[github]
user = dufferzafar
[core]
excludesfile = ~/.gitignore
attributesfile = ~/.gitattributes
editor = vim
autocrlf = input
pager = less -+$LESS -R
fileMode = false
[push]
default = simple
[color]
ui = 1
[color "status"]
added = green
changed = red
untracked = normal dim
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[cola]
fontdiff = Consolas,15,-1,5,50,0,0,0,0,0
tabwidth = 4
spellcheck = false
[cola "color"]
text = 030303
header = bbbbbb
add = 33f480
remove = f21f3b
[gui]
editor = sublime
historybrowser = gitk
[diff]
renames = copies
tool = meld
algorithm = patience
noprefix = true
[difftool]
prompt = false
[alias]
exec = "!exec "
ignore = !echo >> .gitignore
news = "!f() { tig HEAD@{1}..HEAD@{0}; }; f"
stash-apply = "!f() { git stash apply stash^{/$*}; }; f"
stash-show = "!f() { git stash show stash^{/$*} -p; }; f"
week = "!f() { git log --all --since=6.days.ago --author-date-order --author=dufferzafar --decorate; }; f"
[gitreview]
remote = origin
[pager]
diff = diff-so-fancy | less --tabs=1,5 -R
log = diff-so-fancy | less --tabs=1,5 -R
show = diff-so-fancy | less --tabs=1,5 -R
[url "git://anongit.kde.org/"]
insteadOf = kde:
[url "[email protected]:"]
pushInsteadOf = kde:
[gc]
autoDetach = false