forked from zachwill/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
38 lines (38 loc) · 1 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
[user]
name = Zach Williams
email = hey@zachwill.com
[core]
editor = vim
excludesfile = /Users/zachwill/.gitignore_global
quotepath = false
[color]
diff = auto
status = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red
new = green
[color "status"]
added = green
changed = blue bold
untracked = red
[alias]
st = status -sb
sb = status -sb
aa = add -A
br = branch
ci = commit
co = checkout
df = diff
ui = update-index
unchange = update-index --assume-unchanged
change = update-index --no-assume-unchanged
dc = diff --cached
last = log -1 HEAD
lg = log --graph --decorate --pretty=format:'%C(magenta)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
tree = log --graph --decorate --pretty=format:'%C(magenta)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
today = diff --stat @{12am}..HEAD
total = !git tree | wc -l
[github]
user = zachwill