-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
57 lines (54 loc) · 1.25 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
57
[user]
email = [email protected]
name = Josh Perez
[github]
user = goatslacker
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = cyan
[color "diff"]
meta = yellow bold
frag = blue
old = red
new = green
[color "status"]
added = green
changed = blue
untracked = yellow
[alias]
br = branch
co = checkout
df = diff --color
dfst = diff --stat
fixup = !sh -c 'git commit --fixup=HEAD' -
ign = ls-files -o -i --exclude-standard
lg = log --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr by %an)%Creset' --abbrev-commit --date=relative
msg = commit --allow-empty -m
new = checkout -b
nuke = reset --hard HEAD
ri = rebase --interactive --autosquash
sh = stash save
shap = !sh -c 'git stash apply stash@{$1}'
shdf = !sh -c 'git stash show -u stash@{$1}'
shls = stash list
squash = !sh -c 'git add . && git fixup HEAD && git ri HEAD~2'
st = status -s
unstage = reset HEAD
[core]
editor = /usr/bin/vim
excludesfile = /Users/josh_perez/.gitignore_global
precomposeunicode = true
sparseCheckout = true
[rerere]
enabled = true
[push]
default = current
[filter "lfs"]
required = true
clean = git-lfs clean %f
smudge = git-lfs smudge %f