-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot.gitconfig
45 lines (45 loc) · 1.05 KB
/
dot.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
[core]
excludesfile = ~/.gitignore.global
editor = nvim
commentchar = auto
[fetch]
showForcedUpdates = true
[user]
name = sho naito
email = [email protected]
[alias]
co = !cowsay 'checkoutでbranch移動 老害おめ' && echo "`git switch --create branch`"
ci = commit
st = status
br = branch
sw = switch
p = push
unstage = reset HEAD --
current-branch = rev-parse --abbrev-ref HEAD
[color]
diff = always
[include]
path = ~/.gitconfig.local
[filter "lfs"]
clean = git lfs clean %f
smudge = git lfs smudge %f
required = true
[pager]
log = (diff-highlight 2>/dev/null || cat) | ${PAGER:-less}
show = (diff-highlight 2>/dev/null || cat) | ${PAGER:-less}
diff = (diff-highlight 2>/dev/null || cat) | ${PAGER:-less}
[interactive]
diffFilter = (diff-highlight 2>/dev/null || cat)
[diff]
compactionHeuristic = true
[fetch]
prune = true
[ghq]
root = ~/go/src
root = ~/src
[pull]
rebase = true
[url "ssh://[email protected]/FiNCDeveloper/"]
insteadOf = https://github.com/FiNCDeveloper/
[init]
defaultBranch = main