-
Notifications
You must be signed in to change notification settings - Fork 6
/
.gitconfig
38 lines (38 loc) · 1.14 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
#---------------------------
#-- .gitconfig --
#-- by lgaggini --
#-- CC BY-SA 3.0 --
#---------------------------
[user]
email = lg@lgaggini.net
name = Lorenzo Gaggini
[color]
ui = true
[alias]
st = status -s
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
pl = pull
ps = push
timeline = log --graph \"--pretty=format:%C(192)%h%Creset by %C(bold 239)%an%Creset (%ar)%C(182)%d%Creset%n%s%n%b\" --all
ctimeline = log --graph --format=format:\"%C(yellow)%h%C(red)%d%C(reset) - %C(bold green)(%ar)%C(reset) %s %C(blue)<%an>%C(reset)\"
stag = add -u
unstag = reset HEAD --
change-commits = "!f() { VAR=$1; OLD=$2; NEW=$3; shift 3; git filter-branch --env-filter \"if [[ \\\"$`echo $VAR`\\\" = '$OLD' ]]; then export $VAR='$NEW'; fi\" $@; }; f "
[include]
path = .config/themes.gitconfig
[pager]
pager = delta
diff = delta
show = delta
[delta]
dark = true
syntax-theme = zenburn
features = villsau
line-numbers = true
side-by-side = true
line-numbers-left-format = "{nm:>4}┊"
line-numbers-right-format = "{np:>4}│"