-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig.debian
72 lines (65 loc) · 1.3 KB
/
.gitconfig.debian
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 = jmftrindade@gmail.com
# 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 "git@github.com:"]
insteadOf = g:
[url "git@github.mit.edu:"]
insteadOf = gm:
# meld as difftool
[diff]
algorithm = patience
compactionHeuristic = true
tool = meld
[difftool]
prompt = false
[difftool "meld"]
trustExitCode = true
cmd = meld "$LOCAL" "$PWD/$REMOTE"
[merge]
tool = meld
[mergetool]
prompt = false
[mergetool "meld"]
trustExitCode = true
cmd = meld --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