-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
30 lines (30 loc) · 848 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
[core]
editor = vim
[color]
ui = auto
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
excludesfile = /Users/jkim/.gitignore_global
[diff]
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[alias]
sync = !git fetch -n origin master && git rebase origin/master
new = checkout origin/master -b
changed = ! git diff --diff-filter=ACMRTUX --name-only `git merge-base HEAD origin/master`
pychanged = ! git changed | grep -v thrift | grep -v ttypes | egrep '.py$'
showfiles = show --pretty="format:" --name-only
s = status
d = diff
co = checkout
r = rebase
c = commit
lg = log --pretty=sweet
skim = reset --hard HEAD~1
[pretty]
sweet = "%cD %C(auto)%h %Creset%<(10,trunc)%Cblue%an%C(auto) %d %s"
[commit]
verbose = true
[grep]
extendedRegexp = true