Timeline for GNU tar not ignoring directories in gitignore with --exclude-vcs-ignores
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 12, 2020 at 12:34 | answer | added | minni | timeline score: 2 | |
| Jan 10, 2020 at 14:58 | answer | added | AndyO | timeline score: 5 | |
| Aug 24, 2019 at 9:28 | comment | added | cas | if you write that up as an answer, i'll upvote it and you can accept it in a day or so. | |
| Aug 24, 2019 at 7:34 | comment | added | Freddy | **/build and build also seem to work (and match non-directories too). I would add these workarounds additionally to the .gitignore with a comment like # needed for tar --exclude-vcs-ignores | |
| Aug 24, 2019 at 7:27 | comment | added | cas | try **/build/* - that's the only way I've been able to get it to exclude an entire subdirectory. note: this will also exclude build/* found in any lower level subdirs. | |
| Aug 24, 2019 at 7:01 | comment | added | xrisk | @cas neither of those worked; not did build/**/* | |
| Aug 24, 2019 at 6:59 | comment | added | cas | it might be a difference in interpretation of the .gitignore file. try either build/* or build/** rather than just build/. | |
| Aug 24, 2019 at 5:48 | history | asked | xrisk | CC BY-SA 4.0 |