-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
58 lines (56 loc) · 1.59 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
58
[advice]
statusHints = false
[color]
ui = auto
[alias]
st = status -uno
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
who = shortlog -s --
lc = log ORIG_HEAD.. --stat --no-merges
llog = log --date=local
changes = diff --name-status -r
diffstat = diff --stat -r
unadd = reset HEAD
gitkconflict = !gitk --left-right HEAD...MERGE_HEAD
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
prune-all = !git remote | xargs -n 1 git remote prune
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
edit-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; mvim `f`"
add-unmerged = "!f() { git ls-files --unmerged | cut -f2 | sort -u ; }; git add `f`"
switch = !legit switch \"$@\"
branches = !legit branches
sprout = !legit sprout \"$@\"
unpublish = !legit unpublish \"$@\"
harvest = !legit harvest \"$@\"
sync = !legit sync \"$@\"
publish = !legit publish \"$@\"
graft = !legit graft \"$@\"
[instaweb]
local = true
[rerere]
enabled = 1
[core]
excludesfile = ~/.gitignore
autocrlf = input
[push]
default = simple
[credential]
helper = osxkeychain
[filter "lfs"]
required = true
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
clean = git-lfs clean -- %f
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
path =
[mergetool "sourcetree"]
cmd = /Applications/Sourcetree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[branch]
autosetuprebase = always