2020-09-27 04:46:58 +01:00
|
|
|
# Chezmoi
|
|
|
|
|
|
|
|
> A multi-machine dotfile manager, written in Go.
|
|
|
|
> More information: <https://chezmoi.io>.
|
|
|
|
|
|
|
|
- Initialize chezmoi on your machine:
|
|
|
|
|
|
|
|
`chezmoi init`
|
|
|
|
|
|
|
|
- Tell chezmoi to manage a dotfile:
|
|
|
|
|
|
|
|
`chezmoi add {{path/to/file}}`
|
|
|
|
|
|
|
|
- Edit the source state of a tracked dotfile:
|
|
|
|
|
|
|
|
`chezmoi edit {{path/to/file}}`
|
|
|
|
|
|
|
|
- See changes chezmoi would make:
|
|
|
|
|
|
|
|
`chezmoi diff`
|
|
|
|
|
|
|
|
- Apply the changes:
|
|
|
|
|
|
|
|
`chezmoi -v apply`
|
|
|
|
|
2021-01-07 16:23:15 +00:00
|
|
|
- Set chezmoi up on another machine by downloading existing dotfiles from a Git repository:
|
2020-09-27 04:46:58 +01:00
|
|
|
|
|
|
|
`chezmoi init {{https://example.com/path/to/repository.git}}`
|
|
|
|
|
|
|
|
- Fetch the latest changes from a remote repository:
|
|
|
|
|
|
|
|
`chezmoi update`
|