forked from ojroques/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
46 lines (38 loc) · 1009 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
40
41
42
43
44
45
46
; git config
; github.com/ojroques
[user]
useConfigOnly = true
name = Olivier Roques
; email =
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[delta]
features = diff-so-fancy line-numbers
file-modified-label = modified:
hunk-header-decoration-style = blue box
line-numbers-minus-style = red
line-numbers-plus-style = green
line-numbers-zero-style = 244
[alias]
a = add
cm = commit
cma = commit --amend
co = checkout
d = diff
dc = diff --cached
ds = diff --compact-summary
i = show --format='%C(bold yellow)COMMIT%Creset %C(yellow)%H%Cred%d%n%C(bold blue)AUTHOR%Creset %Cblue%an <%ae>%n%C(bold green)DATE%Creset %Cgreen%ai (%ar)%Creset%n%n%s%n%n%b'
ls = ls-tree --full-tree --name-only -r HEAD
rb = rebase
rs = reset
s = status
t = log --graph --format='%C(yellow)%h%Cred%d %Creset%s %Cgreen(%ar) %Cblue%an%Creset' --abbrev-commit --all
ua = restore --staged
[fetch]
prune = true
[pull]
rebase = true
[merge]
tool = vimdiff