From 2d4b889d59a0e78dbc79285f1c1bab9c6360a93c Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Mon, 23 Dec 2024 11:16:19 +0100 Subject: Dust off README s/master/trunk/ s/checkout/restore/ --- README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 8df6f92..b8dbfa9 100644 --- a/README +++ b/README @@ -17,13 +17,13 @@ $ git init $ git remote add --fetch $cutename $url # Move to latest commit without actually touching files: -$ git reset $cutename/master +$ git reset $cutename/trunk # Checkout dotfiles that were not already in $HOME: -$ git checkout -- .foo .bar .baz +$ git restore -- .foo .bar .baz # Or checkout everything: -$ git checkout -- $(git ls-files --deleted) +$ git restore -- $(git ls-files --deleted) # Tell Git to ignore all untracked files: $ echo '*' >> .git/info/exclude -- cgit v1.2.3