-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
45 lines (45 loc) · 992 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[user]
name = mactkg
email = [email protected]
[core]
quotepath = false
autocrlf = input
excludesfile = ~/.gitignore
editor = vi
[color]
diff = auto
status = auto
branch = auto
grep = auto
[alias]
st = status
co = checkout
ci = commit -v
di = diff
br = branch -v
pl = !git pull --rebase && git submodule update --init
lg = log -p --stat --abbrev-commit --decorate --topo-order
lg-r = log -p --stat --abbrev-commit --decorate --topo-order --reverse
[difftool "sourcetree"]
cmd = opendiff \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = /Applications/SourceTree.app/Contents/Resources/opendiff-w.sh \"$LOCAL\" \"$REMOTE\" -ancestor \"$BASE\" -merge \"$MERGED\"
trustExitCode = true
[fetch]
prune = true
[commit]
template = ~/.gitmessage
[ghq]
root = ~/local/src
[include]
path = ~/.gitconfig.secrets
[credential]
helper = osxkeychain
[merge]
tool = vimdiff
[pull]
rebase = false
[include]
path = .gitconfig.local
[init]
defaultBranch = main