forked from shayne/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
85 lines (76 loc) · 1.9 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[user]
name = Shayne Sweeney
email = [email protected]
[alias]
browse = !hub browse
w = !hub browse
compare = !hub compare
ll = log --pretty=oneline --abbrev-commit --max-count=15
review = log -p --max-count=1
wip = !git add -u && git commit -m ...
wipc = !date >> WIP && git add WIP && git commit -m ...
fp = format-patch --stdout
ci = commit
x = checkout HEAD
st = status
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
dft = difftool -y -t opendiff
poh = push origin HEAD
wdiff = diff --color-words
[core]
filemode = true
logallrefupdates = true
whitespace = space-before-tab, trailing-space
quotepath = false
[branch]
autosetupmerge = true
[diff]
renames = copies
mnemonicprefix = true
[help]
browser = open
[sendemail]
smtpserver = smtp.gmail.com
smtpserverport = 587
smtpencryption = tls
smtpuser = [email protected]
[color]
ui = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "branch"]
current = yellow reverse
local = yellow bold
remote = green bold
plain = red bold
[color "status"]
added = yellow
changed = green bold
untracked = blue bold
[github]
user = shayne
[gist]
private = true
[rebase]
autosquash = true
[url "[email protected]:"]
insteadOf = "gh:"
pushInsteadOf = "github:"
pushInsteadOf = "git://github.com/"
[url "git://github.com/"]
insteadOf = "github:"
[url "[email protected]:"]
insteadOf = "gst:"
pushInsteadOf = "gist:"
pushInsteadOf = "git://gist.github.com/"
[url "git://gist.github.com/"]
insteadOf = "gist:"
[url "[email protected]:"]
insteadOf = "heroku:"
[push]
default = tracking
[hub]
protocol = https