-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
49 lines (42 loc) · 1.3 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
[user]
name = Andrew Watts
email = [email protected]
[core]
pager = less -FRXS -x4
whitespace=fix,-indent-with-non-tab,space-before-tab,trailing-space,cr-at-eol
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[alias]
a = add
ap = add -p
ci = commit --verbose
co = checkout
commit = commit --verbose
d = diff
ds = diff --stat
l = log --abbrev-commit --pretty=oneline
lf = log --abbrev-commit --pretty=oneline --name-only
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
ll = log --abbrev-commit --pretty=oneline --max-count=20
lm = log --abbrev-commit --pretty=oneline --committer=andrew
lfm = log --abbrev-commit --pretty=oneline --name-only --commiter=andrew
llm = log --abbrev-commit --pretty=oneline --max-count=20 --committer=andrew
raw = show --pretty=raw
st = status
wd = diff --color-words
ww = log --pretty=format:'%h %ad %s' --date=local --reverse
wwv = log --pretty=format:'%h %ad %s (%ae)' --date=short --reverse
[instaweb]
httpd = webrick
port = 4321
[apply]
whitespace = nowarn
[push]
default = tracking
[diff]
# external = "/Users/andrew/dev/shell/git-diff-driver.sh"