{% if gitconfig_name is defined and gitconfig_email is defined %} [user] name = {{ gitconfig_name }} email = {{ gitconfig_email }} {% endif %} [core] excludesfile = ~/.gitignore_global editor = vi [push] default = matching [color] ui = auto [help] autocorrect = 1 [pull] ff = only [init] defaultBranch = main [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