diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-12-23 11:16:19 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2024-12-23 11:24:42 +0100 |
| commit | 2d4b889d59a0e78dbc79285f1c1bab9c6360a93c (patch) | |
| tree | b2c3e323f2b5505db8e73b6141bee2ba35a70861 /README | |
| parent | 155e13dd7d4b7b321818ac737d8f4943aef2c371 (diff) | |
| download | dotfiles-2d4b889d59a0e78dbc79285f1c1bab9c6360a93c.tar.xz | |
Dust off README
s/master/trunk/
s/checkout/restore/
Diffstat (limited to 'README')
| -rw-r--r-- | README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
