chezmoi
Manage dotfiles across multiple diverse machines. See also:
stow,tuckr,vcsh,homeshick. More information: https://www.chezmoi.io/reference/.
- Set up
chezmoi, creating a Git repository in~/.local/share/chezmoi:
chezmoi init
- Set up
chezmoifrom existing dotfiles of a Git repository:
chezmoi init
- Start tracking one or more dotfiles:
chezmoi add
- Update repository with local changes:
chezmoi re-add
- Edit the source state of a tracked dotfile:
chezmoi edit
- See pending changes:
chezmoi diff
- Apply the changes:
chezmoi apply
- Pull changes from a remote repository and apply them:
chezmoi update
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
