/
.gitconfig
55 lines (55 loc) · 1.12 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
[diff]
tool = vimdiff
[merge]
tool = vimdiff
log = true
[difftool]
prompt = false
[color]
ui = true
[core]
editor = vim
[user]
name = Marcos Canán
email = mcanan@gmail.com
[github]
user = mcanan
[sendemail]
smtpEncryption = tls
smtpServer = smtp.gmail.com
smtpUser = mcanan@gmail.com
smtpServerPort = 587
smtppass = XXXXXXXXX
from = Marcos Canán <mcanan@gmail.com>
[push]
default = matching
[alias]
last = log -1 HEAD
l = log --pretty=format:'%C(yellow)%h%C(magenta)%d%Creset %s %C(cyan)%cr%Creset' --graph -n 20
s = status -sb
# Show the diff between the latest commit and the current state
d = difftool
# List aliases
aliases = config --get-regexp alias
[format]
pretty = oneline
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold # line info
old = red # deletions
new = green # additions
[color "status"]
added = yellow
changed = green
untracked = cyan
[help]
# Automatically correct and execute mistyped commands
autocorrect = 1
[credential]
helper = cache
[pager]
status = true