-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
38 lines (38 loc) · 1.02 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
[alias]
cl = clone
co = checkout
ci = commit
st = status
br = branch
cob = checkout -b -t
last = log -1 HEAD
ol = log --pretty=format:"%h%x09%an%x09%ad%x09%s"
aci = commit --amend --no-edit
tree = log --graph --oneline --all
w = log --pretty=format:"%h%x09%an%x09%ad%x09%s" [email protected] --since="4 weeks ago"
change = diff-tree --no-commit-id --name-only -r HEAD
# tree = log --graph --decorate --pretty=oneline --abbrev-commit
[user]
name = dalonng
email = [email protected]
[core]
editor = emacs
ignorecase = false
[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
[color]
ui = auto
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[http]
sslVerify = false