diff options
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 |
