Manage dotfiles with chezmoi and git

Published:
, Updated:
Talks about:
<a class="post-tag post-tag-chezmoi" href="/tags/chezmoi">chezmoi</a>, <a class="post-tag post-tag-dotfiles" href="/tags/dotfiles">dotfiles</a>, and <a class="post-tag post-tag-git" href="/tags/git">git</a>
chezmoi can automatically commit and push changes to your dotfiles into a (remote) Git repository. Enable it with the following snippet in your chezmoi.toml
[sourceVCS]
autoCommit = true
autoPush = true
Every time you call chezmoi add /path/to/file
will now create a new commit in your local chezmoi repository and push those changes into your configured remote repository.