16.
JavaScript Versioning and Cleanup
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
2 Comments
Hi Ryan, is there a way to delete all file from a repository but one ?
I did a clean-all task to clean the logs and the cache but I want to keep my .gitkeep file inside.
Thx.
Erf - sorry for the newbie question, I've just read the doc and found my answer ...
del.sync('app/cache/*', '!app/cache/.gitkeep');
It's ok - you keep posting good questions and (often) good answers to your own questions :). I hope it'll help others!
Cheers!
"Houston: no signs of life"
Start the conversation!