68 lines
1.2 KiB
Cheetah
68 lines
1.2 KiB
Cheetah
|
[user]
|
||
|
name = inkch
|
||
|
email = inkch@posteo.jp
|
||
|
|
||
|
[core]
|
||
|
excludesfile = ~/.config/git/ignore
|
||
|
editor = nvim
|
||
|
pager = delta
|
||
|
autocrlf = false
|
||
|
quotepath = false
|
||
|
|
||
|
[commit]
|
||
|
template = ~/.config/git/commitmsg
|
||
|
|
||
|
[init]
|
||
|
defaultBranch = main
|
||
|
|
||
|
[color]
|
||
|
status = auto
|
||
|
branch = auto
|
||
|
ui = auto
|
||
|
|
||
|
[delta]
|
||
|
line-numbers = true
|
||
|
diff-so-fancy = true
|
||
|
dark = true
|
||
|
navigate = true
|
||
|
syntax-theme = base16
|
||
|
|
||
|
[interactive]
|
||
|
diffFilter = delta -n --color-only --diff-so-fancy
|
||
|
|
||
|
[diff]
|
||
|
renames = true
|
||
|
colorMoved = default
|
||
|
|
||
|
[merge]
|
||
|
tool = nvimdiff
|
||
|
|
||
|
[mergetool "nvimdiff"]
|
||
|
prompt = false
|
||
|
keepBackup = false
|
||
|
cmd = "nvim -d $LOCAL $MERGED $REMOTE"
|
||
|
|
||
|
[status]
|
||
|
short = true
|
||
|
branch = true
|
||
|
|
||
|
[log]
|
||
|
graph = true
|
||
|
decorate = true
|
||
|
oneline = true
|
||
|
all = true
|
||
|
|
||
|
[alias]
|
||
|
s = status
|
||
|
fe = fetch
|
||
|
fa = fetch --all
|
||
|
co = checkout
|
||
|
cm = commit -m
|
||
|
cma = commit -am
|
||
|
emp = commit --allow-empty -m
|
||
|
br = branch
|
||
|
bra = branch -a
|
||
|
d = diff
|
||
|
l = log --graph --decorate --oneline --date=iso
|
||
|
delete-merged-branch = !git branch -l --merged main | rg -v \"(HEAD|main|\\*)\" | xargs -I % git branch -d %
|