Chezmoi for dotfiles management
- link
- Chezmoi
Init chezmoi
chezmoi init <remote_git_repo_url>
Add file
chezmoi add ~/.vimrc
Sync to remote git repository
chezmoi cd
git add .
git commit -m "update"
git push
Make changes to a file
After you make changes to a tracked file
chezmoi add ~/.vimrc
and sync again to the remote repository