2020-01-16 09:46:42 +00:00
|
|
|
{% if gitconfig_name is defined and gitconfig_email is defined %}
|
|
|
|
[user]
|
|
|
|
name = {{ gitconfig_name }}
|
2022-02-13 19:52:22 +00:00
|
|
|
email = {{ gitconfig_email }}
|
2020-01-16 09:46:42 +00:00
|
|
|
{% endif %}
|
|
|
|
[core]
|
|
|
|
excludesfile = ~/.gitignore_global
|
|
|
|
editor = vi
|
|
|
|
[push]
|
|
|
|
default = matching
|
|
|
|
[color]
|
|
|
|
ui = auto
|
|
|
|
[help]
|
|
|
|
autocorrect = 1
|
2020-06-29 09:32:05 +00:00
|
|
|
[pull]
|
|
|
|
ff = only
|
2021-05-01 17:42:05 +00:00
|
|
|
[init]
|
|
|
|
defaultBranch = main
|
2022-08-06 11:25:10 +00:00
|
|
|
[pager]
|
|
|
|
branch = false
|
|
|
|
config = false
|
|
|
|
stash = false
|
|
|
|
|
|
|
|
[alias]
|
|
|
|
hist = log --graph --abbrev-commit --decorate --format=format:'%C(red)%h%C(reset) - %C(green)(%ar)%C(reset) %C(reset)%s %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' -32
|
|
|
|
logs = log --show-signature
|