-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
62 lines (59 loc) · 1.46 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
59
60
61
62
[alias]
ci = commit
co = checkout
st = status
br = branch
lg = log --graph --pretty=format:'%C(yellow)%h%Creset -%C(yellow)%d%Creset %s %C(green)(%cd)%Creset %C(bold cyan)<%aE>%Creset' --abbrev-commit --date=short
sn = !bash -c 'git checkout -b snapshot_$(/bin/date "+%y%m%d_%H%M%S")'
report = log --pretty=oneline --author='jin\\|Jin' --abbrev-commit --since='14.hours' --no-merges --reverse
[user]
name = Xiaoming Jin
email = [email protected]
[github]
user = Jinxiaoming
[gui]
editor = gedit
historybrowser = gitk
[core]
editor = vim
excludesfile = /Users/jin/.gitignore_global
[color]
ui = auto
[color "branch"]
current = cyan reverse
local = cyan
remote = magenta
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[credential]
helper = cache
[diff]
tool = meld
[merge]
tool = meld
confictstyle = diff3
conflictstyle = diff3
[push]
default = simple
[cola]
fontdiff = Source Code Pro for Powerline,14,-1,5,50,0,0,0,0,0
tabwidth = 2
textwidth = 80
boldheaders = true
[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
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true