-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig.osx
72 lines (65 loc) · 1.34 KB
/
.gitconfig.osx
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 = Joana M. F. da Trindade
email = [email protected]
# colors for colored commands
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
a = add -A .
b = branch -a
c = commit
cam = commit -am
ccc = commit -am '.'
d = diff
dt = difftool
l = log --oneline
last = log -1 HEAD
p = push
r = remote -v
s = status --porcelain
[help]
autocorrect = 1
[url "[email protected]:"]
insteadOf = g:
[url "[email protected]:"]
insteadOf = gm:
# meld as difftool
[diff]
algorithm = patience
compactionHeuristic = true
tool = meld
[difftool]
prompt = false
[difftool "meld"]
trustExitCode = true
cmd = open -W -a Meld --args \"$LOCAL\" \"$PWD/$REMOTE\"
[merge]
tool = meld
[mergetool]
prompt = false
[mergetool "meld"]
trustExitCode = true
cmd = open -W -a Meld --args --auto-merge \"$PWD/$LOCAL\" \"$PWD/$BASE\" \"$PWD/$REMOTE\" --output=\"$PWD/$MERGED\"
# cr/lf on projects where collabs are using a mix of win + *nix systems
[core]
autocrlf = false
safecrlf = true
# don't sign commits
[commit]
gpgsign = false
# push all branches that have matching names in remote
[push]
default = matching