1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/chezmoi.md
Lucas Gabriel Schneider fddaac3d0a Update pages/common/chezmoi.md
Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
2021-01-08 13:09:54 +00:00

32 lines
628 B
Markdown

# 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`
- Set chezmoi up on another machine by downloading existing dotfiles from a Git repository:
`chezmoi init {{https://example.com/path/to/repository.git}}`
- Fetch the latest changes from a remote repository:
`chezmoi update`