-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
39 lines (30 loc) · 835 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
33
34
35
36
37
38
39
[alias]
st = status
ci = commit
co = checkout
amend = commit --amend --no-edit
graph = log --graph --pretty='%C(auto)%<|(14)%h %C(green)%<|(28,trunc)%an%C(auto) %C(blue)%ad%C(auto)%d %s' --date=format:'%d %b %H:%M'
up = graph --all
copy-commit-message = "!sh -c 'revision=\"$1\"; shift; git rev-list --format=%B --max-count 1 \"${revision}\" | sed \"1!p\" -n | xargs -0 -I{} git commit -m \"{}\" \"$@\"' -"
difftool = difftool --dir-diff
review = log --patience --patch --reverse dev..
[user]
name = Robin Moussu
email = moussu.robin@pm.me
[rebase]
autosquash = true
[rerere]
enabled = true
[diff]
tool = meld
[difftool]
prompt = false
[difftool "meld"]
cmd = meld "$LOCAL" "$REMOTE"
[merge]
tool = vimdiff
conflictstyle = diff3
[mergetool]
prompt = false
[core]
pager = diff-so-fancy | less --tabs=4 -RFX