forked from rhtw/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
40 lines (39 loc) · 1.03 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
[user]
email = [email protected]
name = Phil Huang
[core]
editor = vim
excludesfile = /Users/roan/.gitignore
[merge]
tool = vimdiff
[color]
status = auto
branch = auto
diff = auto
ui = true
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
co = checkout
ci = commit --signoff -a
st = status
br = branch -a
di = diff
clr = clean -fdx
mg = merge
[branch]
autosetuprebase = always
sh = show
p = push
ro = remote -v
[help]
autocorrect = 1
[push]
default = simple
[gitreview]
username = pichuang
[filter "lfs"]
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f