summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2018-02-13 19:10:15 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2018-02-13 19:10:15 +0100
commit2da9b9fa1ce3feeaf5f3425d352f038312abb3e1 (patch)
tree49ef07f8f0b150023ef536ab5bf8f604547d8b09 /README
parent9fcc898f89bfc04a58b7e0a6fce71c0567872b43 (diff)
downloaddotfiles-2da9b9fa1ce3feeaf5f3425d352f038312abb3e1.tar.xz
Remove .gitignore
Adding a setup step feels marginally cleaner than having this dumb match-all .gitignore. 🤷
Diffstat (limited to 'README')
-rw-r--r--README5
1 files changed, 4 insertions, 1 deletions
diff --git a/README b/README
index 2e537e5..0f246b7 100644
--- a/README
+++ b/README
@@ -20,7 +20,10 @@ $ git remote add --fetch $cutename $url
$ git reset $cutename/master
# Checkout dotfiles that were not already in $HOME:
-$ git checkout -- .gitignore # …
+$ git checkout -- .foo .bar .baz
+
+# Tell Git to ignore all untracked files:
+$ echo '*' >> .git/info/exclude
# Tell Git to forget about repository fluff:
$ git update-index --assumed-unchanged -- README # …