dotter/gitconfig

33 lines
623 B
Plaintext
Raw Normal View History

2021-11-26 13:01:28 +00:00
{{#if (and email git_username)~}}
[user]
name = {{git_username}}
email = {{email}}
{{/if~}}
[merge]
tool = vimdiff
[diff]
tool = vimdiff
trustExitCode = true
[difftool]
2022-05-03 07:55:34 +00:00
prompt = true
2021-11-26 13:01:28 +00:00
[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
2022-10-27 04:17:48 +00:00
wt = worktree
wta = worktree add
wtr = worktree remove
wtl = worktree list
2021-11-26 13:01:28 +00:00
[mergetool]
keepBackup = false
2022-05-03 07:55:34 +00:00
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
2021-11-26 13:01:28 +00:00
[core]
2022-10-23 08:46:56 +00:00
editor = nvim
2021-11-26 13:01:28 +00:00
# vim: ft=gitconfig