-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
56 lines (56 loc) · 1.38 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
[User]
name = Jingyi Ni
email = [email protected]
[core]
editor = emacs
pager = less
trustctime = false
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
[push]
default = upstream
default = current
[branch]
autosetupmerge = always
autosetuprebase = always
[merge]
summary = true
conflictstyle = diff3
[diff]
tool = vimdiff
[alias]
st = status
co = checkout
br = branch
ci = commit
pr = pull --rebase
lg = log --graph --decorate --color --name-only --all
lg1 = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(black)%s%C(reset) %C(bold yellow)— %an%C(reset)%C(bold red)%d%C(reset)' --abbrev-commit --date=relative
graph = log --graph --oneline --all --abbrev-commit --decorate --color
cr = !post-review --open --note
crlate = !post-review --open
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%ar%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
df = diff HEAD
rbi = rebase -i
[color]
branch = auto
interactive = auto
status = auto
diff = auto
ui = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green
changed = yellow
untracked = cyan
[amazon]
append-cr-url = true
pull-request-by-default = true