forked from lepistone/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
26 lines (26 loc) · 742 Bytes
/
.gitconfig
File metadata and controls
26 lines (26 loc) · 742 Bytes
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
[user]
email = leonardo.pistone@camptocamp.com
name = Leonardo Pistone
[color]
ui = auto
[alias]
ff = merge --ff-only
pullff = pull --ff-only
noff = merge --no-ff
l = log --pretty=onelep --graph
la = log --pretty=onelep --graph --all
r = log --pretty=onelep --graph -20
ra = log --pretty=onelep --graph -20 --all
[merge]
tool = vimdiff
defaultToUpstream = true
[push]
default = simple
[core]
excludesfile = ~/.gitignore_global
[pretty]
# this looks similar to gary bernhardt's magic, without external
# magic.
# I add a tab at the beginning to prevent the graph to break column
# alignment. That could be considered a bug in git.
onelep = %x09%h %Cgreen%<(20,trunc)%ar %Cblue%<(20,trunc)%an %Cred%d%Creset %s