sdf_chezmoi/dot_gitconfig.tmpl

26 lines
560 B
Cheetah

[core]
editor = emacs
quotepath = false
[user]
{{ if (eq .chezmoi.hostname "abuelo") }}
# Configurazione per hostname uguale a "abuelo"
name = me
email = me@example.com
{{ else }}
# Configurazione per hostname diverso da "abuelo"
name = me
email = me@example.com
{{ end }}
[alias]
graph = log --decorate --oneline --graph
whatsnew = !git log ..origin/`git rev-parse --abbrev-ref HEAD`
[init]
templatedir = ~/.git_template
[pull]
rebase = false
[fetch]
prune = false
[rebase]
autoStash = false
# vim: set ft=gitconfig :