-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
72 lines (67 loc) · 1.69 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
63
64
65
66
67
68
69
70
71
72
[user]
name = Marco Perrando
email = [email protected]
[http]
sslVerify = false
[extensions]
rebase =
[color]
ui = true
interactive = true
branch = auto
diff = auto
status = auto
[color "branch"]
current = blue reverse
local = blue
remote = green
[color "diff"]
meta = yellow
frag = magenta
old = red bold
new = green
plain = white
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
quotepath = false
excludesfile = ~/.gitignore_global
editor = /usr/bin/vim
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = less -r
[alias]
ci = commit
co = checkout
st = status
l = log --decorate --graph
lol = log --oneline --decorate --graph
d = diff
dc = diff --cached
dw = diff --color-words
dcw = diff --cached --color-words
s = show
sw = show --color-words
alias = !git config --list | grep 'alias\\.' | sed 's/alias\\.\\([^=]*\\)=\\(.*\\)/\\1\\\t => \\2/' | sort
# https://raw.githubusercontent.com/durdn/cfg/master/.gitconfig
ls = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
[gui]
recentrepo = /Users/mperrando/git/spie-sinkd
[push]
default = simple
[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 "hawser"]
clean = git hawser clean %f
smudge = git hawser smudge %f
required = true
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true