-
Notifications
You must be signed in to change notification settings - Fork 116
/
.gitconfig
78 lines (61 loc) · 1.53 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
[user]
name = Gianni Chiappetta
email = [email protected]
signingkey = 644D5709D53E39CE
[alias]
br = branch
; Example: g ch master...staging
ch = log --cherry --pretty=format:\"%C(auto)%h (%ar) %an: %s\" --date-order --reverse
ci = commit
co = checkout
df = diff
g = grep -I
lg = log -p
loq = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
st = status
find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep
[branch]
autosetuprebase = always
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red
new = green
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
[rerere]
enabled = 1
[commit]
gpgsign = true
[pager]
log = diffr | less --tabs=2 -R
show = diffr | less --tabs=2 -R
diff = diffr | less --tabs=2 -R
[protocol]
version = 2
[credential]
helper = osxkeychain
[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:"