commit c970f114440c2f4ca7c7136f47f0019f7159209a
parent 19de378a7dcdc0e66e85c707bb371da8e25ac452
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Thu, 23 Jan 2020 23:37:31 +0100
Add simpler checkout method
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/README b/README
@@ -22,6 +22,9 @@ $ git reset $cutename/master
# Checkout dotfiles that were not already in $HOME:
$ git checkout -- .foo .bar .baz
+# Or checkout everything:
+$ git checkout -- $(git ls-files --deleted)
+
# Tell Git to ignore all untracked files:
$ echo '*' >> .git/info/exclude