-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
46 lines (46 loc) · 1.04 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
[user]
name = Polo
[github]
user = pololee
[core]
excludesfile = /Users/pololee/.gitignore_global
editor = vim
[push]
default = current
[alias]
co = checkout
st = status
b = branch
p = pull
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lo = log --abbrev-commit --pretty=oneline --format='%C(yellow)%h%Creset %s %C(bold blue)<%an>%Creset %Cgreen(%cr)%Creset'
new = log --oneline HEAD ^origin/master
wip = commit -am 'pl - WIP'
unwip = reset HEAD^
[color]
ui = true
[color "branch"]
current = yellow black
local = yellow
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = green
whitespace = white reverse
[color "status"]
added = yellow
changed = green
untracked = cyan reverse
branch = magenta
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[init]
templatedir = /Users/pololee/.git_template
[pager]
branch = false
diff = false