-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
49 lines (49 loc) · 1.23 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
[user]
name = George Bashi
email = [email protected]
[color]
ui = true
[core]
whitespace = tab-in-indent,tabwidth=4
fsyncobjectfiles = true
preloadindex = true
pager = diff-so-fancy | less --tabs=4 -RFX
editor = vim
[diff]
mnemonicprefix = true
renames = copy
tool = vimdiff
[pack]
threads = 0
[rerere]
enabled = 1
[url "[email protected]:"]
insteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
pushInsteadOf = "https://github.com/"
[merge]
log = true
tool = vimdiff
[alias]
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
h = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
graphviz = "!f() { echo 'digraph git {' ; git log --pretty='format: %h -> { %p }' \"$@\" | sed 's/[0-9a-f][0-9a-f]*/\"&\"/g' ; echo '}'; }; f"
opt = repack -a -d -f --depth=250 --window=250
[push]
default = upstream
[github]
user = georgebashi
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse