-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
23 lines (19 loc) · 931 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
[user]
email = bpc@amazon.com
name = Brian Chen
[color]
ui = auto
[core]
pager = less -FMRiX
[push]
default = simple
[alias]
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%cr%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
amend = commit -a --amend --no-edit --date="now" --reset-author
sl = log -n 10 --graph --all --abbrev-commit --abbrev=8 --decorate --format=format:'%C(yellow)%h%C(reset) %C(white)%ar%C(reset) %an %C(auto)%D%C(reset)%n%C(white)%<(70,trunc)%s%C(reset)%n'
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
clean-branches = "!f() { git fetch origin && git branch --merged origin/mainline | grep -v \"^\\*\" | grep -v \"mainline\" | xargs -r git branch -d; }; f"
[rebase]
updateRefs = true
[log]
graphColors = "#ffffff",red,green