27 lines
450 B
Plaintext
27 lines
450 B
Plaintext
|
{{#if (and email git_username)~}}
|
||
|
[user]
|
||
|
name = {{git_username}}
|
||
|
email = {{email}}
|
||
|
{{/if~}}
|
||
|
[merge]
|
||
|
tool = vimdiff
|
||
|
[diff]
|
||
|
tool = vimdiff
|
||
|
trustExitCode = true
|
||
|
[difftool]
|
||
|
prompt = false
|
||
|
[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
|
||
|
[mergetool]
|
||
|
keepBackup = false
|
||
|
[core]
|
||
|
editor = vim
|
||
|
|
||
|
# vim: ft=gitconfig
|