-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
37 lines (36 loc) · 917 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
[alias]
co = checkout
lg = log --graph --pretty=format:'%Cred%h%Creset (%ad) %s %C(yellow)%d%Creset %C(bold blue)<%an>%Creset' --date=relative
hist = log --graph --full-history --all --pretty=format:'%Cred%h%Creset (%ad) %s %C(yellow)%d%Creset %C(bold blue)<%an>%Creset' --date=relative
st = status
ci = commit
msg = show -s --format=%B
[color]
diff = auto
status = auto
branch = auto
[apply]
whitespace = nowarn
[format]
pretty = %C(yellow)%h%Creset %s %C(red)(%an, %cr)%Creset
[core]
excludesfile = ~/.gitignore_global
editor = code --wait
# Allow local customizations in the .gitconfig_local file
[include]
path = ~/.gitconfig_local
[merge]
tool = vscode
[mergetool "vscode"]
cmd = "code --wait "
[diff]
tool = vscode
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = main
[pull]
rebase = true