chezmoi

install

# Arch
sudo pacman -S chezmoi
# Windows 10
scoop install chezmoi

usage

1 2

# rm -rf ~/.local/share/chezmoi
# rm -rf ~/.config/chezmoi
chezmoi init
vim ~/.local/share/chezmoi/.chezmoiignore
<ignorefile>
<ignoredir>/
chezmoi add <your_dotfiles>
chezmoi cd
git remote add origin https://github.com/<user>/<repo>
git branch -M main
git add .
git commit -m "<commit>"
git push -u origin main

On another PC:

chezmoi init https://github.com/<user>/<repo>
chezmoi diff
chezmoi apply -v
# Pull updates
chezmoi update -v