-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
48 lines (48 loc) · 1.07 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
[include]
path = ~/.gituser
[branch]
autosetuprebase = always
autosetupmerge = true
[push]
default = upstream
[color]
branch = auto
diff = auto
interactive = auto
status = auto
[alias]
s = status
b = branch
co = checkout
ci = commit
d = diff
l = log --graph --decorate=short
lo = log --pretty=format:'%h <%an> %s'
unstage = "reset HEAD "
hreset = reset --hard
fci = commit --no-verify
fancylog = log --graph --full-history --all --color --pretty=format:\"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s\"
[rerere]
enabled = 1
[credential]
helper = osxkeychain
[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
[diff]
compactionHeuristic = true
[pull]
rebase = merges
[core]
excludesfile = ~/.gitignore_global
autocrlf = input
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[remote "origin"]
prune = true