-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
53 lines (53 loc) · 1.6 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
[alias]
st = status
ci = commit
br = branch
co = checkout
p = push
pl = pull
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
fixup = "!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ${@:2} && EDITOR=true git rebase -i --autostash --autosquash $TARGET^; }; f"
ls-subtrees = !"git log | grep git-subtree-dir | gawk '{ print $2 }'"
[color]
ui = true
[user]
name = Calvin Cheng
email = linchuan.cheng@gmail.com
[core]
excludesfile = /Users/calvin/.gitignore_global
autocrlf = input
eol = lf
[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
[merge]
tool = kdiff3
[push]
default = simple
followTags = true
[diff]
tool = kdiff3
[filter "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[credential]
helper = cache --timeout=3600
[url "git@gitlab.calvinx.com:"]
insteadOf = https://gitlab.calvinx.com/
[http "https://gopkg.in"]
followRedirects = true
[http "https://code.google.com"]
followRedirects = true
[url "git@github.com:"]
insteadOf = https://github.com/
[url "ssh://git@bitbucket.launchbadge.com/"]
insteadOf = https://bitbucket.launchbadge.com/scm/