-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
43 lines (43 loc) · 1.24 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
[user]
name = Austin Taylor
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
[alias]
ci = commit -m
cia = commit -am
st = status
up = !git stash && git pull && git stash pop
grbl = !sh -c 'git grep -n \"$1\" | awk -F: '\"'\"'{ print $2\",\"$2,$1 }'\"'\"' | xargs -n 2 git --no-pager blame -f -L' -
back = !git reflog | grep checkout | head -1 | awk '{ print $6 }' | xargs git checkout
br = !git for-each-ref --sort=-committerdate --format='%(refname)' refs/heads/ | cut -d / -f 3 | head -10
m = checkout master
co = checkout
rb = rebase -i
rbm = rebase -i master
cbr = rev-parse --abbrev-ref HEAD
pushup = !git rev-parse --abbrev-ref HEAD | xargs git push --set-upstream origin
p = push
rbmm = !git checkout master && git pull && git checkout - && git rebase -i master
[core]
excludesfile = /Users/austin/tilde/.globalgitignore
editor = /usr/bin/vim
[push]
default = tracking
[log]
date = local
[filter "media"]
clean = git media clean %f
smudge = git media smudge %f
required = true
[url "[email protected]:"]
insteadOf = https://github.com/
[pull]
rebase = true
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f