-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
55 lines (50 loc) · 895 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
47
48
49
50
51
52
53
54
55
[core]
editor = vim
ignorecase = false
excludesfile = ~/.gitignore_global
pager = delta --color-only
quotepath = off
[color]
ui = auto
[interactive]
diffFilter = delta --color-only
[pager]
branch = false
[alias]
ad = add
br = branch
ch = checkout
co = commit
cv = commit -v
df = diff
ps = push
pl = pull
rs = reset
rb = rebase
st = status
wt = worktree
root = rev-parse --show-toplevel
files = "!git diff --name-status \"$1\"^ \"$1\" #"
[user]
name = Shin Yamamoto
email = [email protected]
[include]
path = ~/.gitconfig.local
path = ~/.gitconfig.macos
path = ~/.gitconfig.linux
[init]
defaultBranch = main
[log]
follow = true
[pull]
ff = only
[push]
useForceIfIncludes = true
autoSetupRemote = true
[rebase]
autosquash = true
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process