61 lines
989 B
Cheetah
61 lines
989 B
Cheetah
[user]
|
|
name = inkch
|
|
email = inkch@posteo.jp
|
|
|
|
[core]
|
|
excludesfile = ~/.config/git/ignore
|
|
editor = nvim
|
|
autocrlf = false
|
|
quotepath = false
|
|
|
|
[commit]
|
|
template = ~/.config/git/commitmsg
|
|
|
|
[init]
|
|
defaultBranch = main
|
|
|
|
[color]
|
|
status = auto
|
|
branch = auto
|
|
ui = auto
|
|
|
|
[diff]
|
|
renames = true
|
|
colorMoved = default
|
|
external = difft
|
|
|
|
[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 -p --ext-diff
|
|
ls = log --graph --decorate --oneline --date=iso
|
|
delete-merged-branch = "!git branch -l --merged main | rg -v \"(HEAD|main|\\*)\" | xargs -I % git branch -d %"
|
|
|
|
; vim: noet ft=gitconfig
|
|
; -*- indent-tabs-mode: t; tab-width: 4 -*- |