-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitconfig
More file actions
68 lines (68 loc) · 1.67 KB
/
gitconfig
File metadata and controls
68 lines (68 loc) · 1.67 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[user]
email = matteo.baglini@gmail.com
name = Matteo Baglini
[github]
user = matteo.baglini
[push]
default = tracking
[core]
editor = code --wait
pager = delta
[delta]
syntax-theme = gruvbox-dark
[interactive]
diffFilter = delta --color-only
[color]
diff = auto
status = auto
branch = auto
ui = auto
[merge]
log = true
tool = vscode
[mergetool "vscode"]
cmd = code --wait $MERGED
[diff]
tool = vscode
[difftool "vscode"]
cmd = code --wait --diff $LOCAL $REMOTE
[rerere]
enabled = true
[alias]
l1 = log --pretty=oneline -n 20 --graph
l = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%cn]" --decorate --graph
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cgreen\\ [%cn]" --decorate --numstat
ld = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=relative
fl = log -u
sc = diff --name-only --diff-filter=U
s = status -s
ts = tag -l
bs = branch -a
bt = branch -vv
rs = remote -v
bl = blame
cm = commit -m
ca = commit --amend
can = commit --amend --no-edit
ad = add -A
bd = branch -D
rd = push origin --delete
co = checkout
cob = checkout -b
pl = pull --prune
pr = pull --rebase --prune
ps = push
psf = push --force-with-lease
df = diff
undo = reset HEAD~1 --mixed
throw = reset HEAD~1 --hard
cc = clean -dfx
tree = !git log --graph --decorate --all --oneline
ec = config --global -e
v = rev-list --count HEAD
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
[credential]
helper = store