From 3c13421cc3f321b30d229e6b4955f3140be9347d Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sat, 11 Jun 2022 23:34:53 +0200 Subject: [PATCH] autopushed --- chezmoi.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/chezmoi.md b/chezmoi.md index fd64c0b80..19126216e 100644 --- a/chezmoi.md +++ b/chezmoi.md @@ -31,9 +31,19 @@ git branch -M main git push -u origin main ``` -For syncing into a new machine, first install chezmoi as per the above, and then: +For syncing into a new machine: ``` +sh -c "`curl -fsLS chezmoi.io/get`" chezmoi init https://gitlab.com/flancian/flancian chezmoi apply -v ``` + +To upload changes to files already tracked by chezmoi: +``` +chezmoi readd +chezmoi cd +git commit -a -m "chezmoi from $HOSTNAME" +git push +``` +