Manage dotfiles with chezmoi and git View article history Edit article

Published: , Updated:
Talks about: , , and

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.