From 42780dc7aa91874a7fb63ceb3f78bc61a0af6406 Mon Sep 17 00:00:00 2001 From: "Luke (Burbidge) Alvarez" Date: Sat, 26 Sep 2020 20:46:58 -0700 Subject: [PATCH] chezmoi: add page (#4314) --- pages/common/chezmoi.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/common/chezmoi.md diff --git a/pages/common/chezmoi.md b/pages/common/chezmoi.md new file mode 100644 index 000000000..8410948f8 --- /dev/null +++ b/pages/common/chezmoi.md @@ -0,0 +1,32 @@ +# Chezmoi + +> A multi-machine dotfile manager, written in Go. +> More information: . + +- 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`