-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.gitconfig
44 lines (42 loc) · 1000 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
[user]
name = Max Moiseev
email = [email protected]
[alias]
ci = commit
cim = commit -m
cp = cherry-pick
co = checkout
st = status --short
glog = log --graph --oneline
l5 = log --graph --oneline -n5
l10 = log --graph --oneline -n10
d = diff --color
ds = diff --staged --color
dag = log --graph --pretty=format:'%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
rc = rebase --continue
ra = rebase --abort
# For many options with explanations see:
# https://jvns.ca/blog/2024/02/16/popular-git-config-options/
[push]
default = current
[color]
ui = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[safe]
directory = /opt/homebrew
[rebase]
autostash = true
[init]
defaultBranch = main
[commit]
verbose = true
[diff]
algorithm = histogram
submodule = log
tool = difftastic
[status]
submoduleSummary = true