1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-30 23:15:29 +02:00

chezmoi: add page (#4314)

This commit is contained in:
Luke (Burbidge) Alvarez 2020-09-26 20:46:58 -07:00 committed by GitHub
parent 4538547a6f
commit 42780dc7aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

32
pages/common/chezmoi.md Normal file
View file

@ -0,0 +1,32 @@
# 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 repo:
`chezmoi init {{https://example.com/path/to/repository.git}}`
- Fetch the latest changes from a remote repository:
`chezmoi update`