diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-02-13 19:10:15 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-02-13 19:10:15 +0100 |
| commit | 2da9b9fa1ce3feeaf5f3425d352f038312abb3e1 (patch) | |
| tree | 49ef07f8f0b150023ef536ab5bf8f604547d8b09 | |
| parent | 9fcc898f89bfc04a58b7e0a6fce71c0567872b43 (diff) | |
| download | dotfiles-2da9b9fa1ce3feeaf5f3425d352f038312abb3e1.tar.xz | |
Remove .gitignore
Adding a setup step feels marginally cleaner than having this dumb
match-all .gitignore.
🤷
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | README | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 72e8ffc..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -* @@ -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 # … |
