-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
40 lines (40 loc) · 920 Bytes
/
gitconfig
File metadata and controls
40 lines (40 loc) · 920 Bytes
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
[user]
name = 姜皓
email = jianghao7625@gmail.com
[core]
excludesfile = /Users/jianghao/.gitignore_global
editor = vim
autocrlf = input
safecrlf = 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
[commit]
template = /Users/jianghao/.stCommitMsg
[alias]
st = status
pl = pull
pr = pull --rebase
ss = stash
ps = push
ck = checkout
cb = checkout
br = branch
bd = branch -d
mg = merge
cm = commit
ca = commit -a
rb = rebase
rs = reset
cb = checkout -b
lg = log --graph --date=format:'%Y-%m-%d %H:%M:%S %A'
log = log --date=format:'%Y-%m-%d %H:%M:%S %A'
rv = revert
[filter "lfs"]
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f