-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig
32 lines (32 loc) · 919 Bytes
/
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
[user]
name = Jean-Sébastien Leroy
email = [email protected]
[color]
diff = auto
status = auto
branch = auto
[core]
excludesfile = ~/.gitexcludes
preloadindex = true
[branch]
autosetupmerge = false
[tig]
show-author = abbreviated
show-rev-graph = yes
author-width = 15
tab-size = 4
line-graphics = utf-8
[rerere]
enabled = 1
[include]
path = ~/.gitconfig.local
[push]
default = nothing
[alias]
st = status
co = checkout
cp = cherry-pick
lol = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
subcommit = "!f() { s=${*}; m=$(mktemp); (echo "$s: update submodule"; echo; git submodule status $s; echo; git submodule summary $s)>$m; git add -- $s; git commit --file=$m; rm $m; }; f"
[maintenance]
repo = /home/jean/work/brick/brick