dotfiles/home/dot_gitconfig.tmpl

31 lines
574 B
Cheetah
Raw Normal View History

2023-02-25 16:18:35 +00:00
[user]
name = jay
email = jay@lawsnote.com
[merge]
tool = vimdiff
[diff]
tool = vimdiff
trustExitCode = true
[difftool]
prompt = true
[alias]
d = difftool
co = checkout
ci = commit -v
l = log --oneline --graph --all
ls = log --graph --pretty=format:\"%h <%an> %ar %s\" --all
st = status
br = branch
wt = worktree
wta = worktree add
wtr = worktree remove
wtl = worktree list
[mergetool]
keepBackup = false
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[core]
editor = nvim
# vim: ft=gitconfig