mirror of
https://github.com/dnlbauer/dotfiles.git
synced 2026-09-10 13:35:30 +00:00
.commit_message.tmpl
This commit is contained in:
8
.chezmoi.toml.tmpl
Normal file
8
.chezmoi.toml.tmpl
Normal file
@@ -0,0 +1,8 @@
|
||||
{{- $github_email := promptStringOnce . "github_email" "Github Email address" -}}
|
||||
|
||||
[data]
|
||||
github_email = {{ $github_email | quote }}
|
||||
[git]
|
||||
autoPush = true
|
||||
autoCommit = true
|
||||
commitMessageTemplate = ".commit_message.tmpl"
|
||||
1
.commit_message.tmpl
Normal file
1
.commit_message.tmpl
Normal file
@@ -0,0 +1 @@
|
||||
{{ promptString \"Commit message\" }}
|
||||
@@ -2,7 +2,7 @@
|
||||
[user]
|
||||
# Please adapt and uncomment the following lines:
|
||||
name = Daniel Bauer
|
||||
email = github@dbauer.me
|
||||
email = {{ .github_email | quote }}
|
||||
[core]
|
||||
pager = sh -c 'command -v diff-so-fancy >/dev/null && exec diff-so-fancy || less --tabs=4 -RX'
|
||||
pager = less
|
||||
Reference in New Issue
Block a user