/
.gitconfig
41 lines (41 loc) · 886 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[color]
ui = true
[user]
name = Kyle Tress
email = kyle@kyletress.com
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[alias]
b = branch
co = checkout
cob = checkout -b
s = status
d = diff
l = log --pretty=oneline -n 40 --abbrev-commit
ls = log --oneline
wip = commit -am "WIP"
undo = reset HEAD~1 --mixed
cm = !git add -A && git commit -m
dfw = diff --ignore-space-change
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
[push]
default = simple
[core]
editor = vim --wait
excludesfile = ~/.gitignore
whitespace = trailing-space,space-before-tab
[help]
autocorrect = 1
# Local/private config goes in the include
[include]
path = ~/.gitconfig.local
[apply]
whitespace=fix
[credential]
helper = osxkeychain