-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
42 lines (40 loc) · 811 Bytes
/
.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
[user]
name = Jeff Wang
email = [email protected]
[alias]
# COMMIT
cm = commit -m
# STASH
ss = stash save
sp = stash pop
sl = stash list
m = merge --no-ff
mm = merge origin/master --no-ff
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
[branch]
autosetuprebase = always
[color]
ui = always
[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 = current
[core]
editor = vim
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[credential]
helper = osxkeychain