-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.gitconfig
53 lines (53 loc) · 1.27 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
[user]
name = Terry Ma
email = [email protected]
[core]
excludesfile = ~/.gitignore_global
; vimpager doesn't work very well with some log format, use less
pager = less
[alias]
lg = log --abbrev-commit --decorate --pretty=oneline
dag = log --graph --format='format:%C(yellow)%h%C(reset) %C(blue)\"%an\" <%ae>%C(reset) %C(magenta)%ar%C(reset)%C(auto)%d%C(reset)%n%s' --date-order
[color]
ui = auto
[diff]
tool = myvimdiff
[difftool "myvimdiff"]
cmd = vimdiff \"$REMOTE\" \"$LOCAL\"
[pager]
diff =
; log = false
[merge]
keepBackup = false
tool = fugitive
[mergetool]
keepBackup = false
keepTemporaries = false
prompt = false
[mergetool "fugitive"]
cmd = vim -f -c \"Gdiff\" \"$MERGED\"
keepTemporaries = false
keepBackup = false
[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
[push]
default = simple
[amazon]
append-cr-url = true
pull-request-by-default = false
[credential]
helper = osxkeychain
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[init]
templatedir = ~/.git_template
[hub]
protocol = https
[protocol]
version = 2