-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
49 lines (49 loc) · 1.57 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
[diff]
[difftool "diffmerge"]
cmd = /usr/bin/diffmerge \"$LOCAL\" \"$REMOTE\"
[merge]
[mergetool "diffmerge"]
trustExitCode = true
cmd = /usr/bin/diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\"
[mergetool]
keepBackup = false
[difftool "Kaleidoscope"]
[mergetool "Kaleidoscope"]
cmd = ksdiff --merge --output \"$MERGED\" --base \"$BASE\" -- \"$LOCAL\" --snapshot \"$REMOTE\" --snapshot
trustexitcode = true
[push]
default = simple
[difftool]
[difftool "Kaleidoscope"]
cmd = ksdiff --partial-changeset --relative-path \"$MERGED\" -- \"$LOCAL\" \"$REMOTE\"
[alias]
ksreview = "!f() { local SHA=${1:-HEAD}; local BRANCH=${2:-master}; if [ $SHA == $BRANCH ]; then SHA=HEAD; fi; git difftool -y -t Kaleidoscope $BRANCH...$SHA; }; f"
[merge]
tool = diffmerge
[log]
date = short
[format]
pretty = %C(auto,yellow)%h%C(auto,cyan)%>(12,trunc)%ad %C(auto,green)%<(10,trunc)%aN%C(auto,reset)%s%C(auto,red)% gD% d
[include]
# For username / creds / etc
path = ~/.gitconfig.local
[lfs "customtransfer.bitbucket-media-api"]
path = /usr/local/bin/git-lfs-bitbucket-media-api
[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
[user]
name =
email =
[core]
excludesfile = /Users/diverson/.gitignore_global
[commit]
template = /Users/diverson/.stCommitMsg
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true