How to ignore directories and files only inside a directory
I have this .gitignore file:
app/cache/*
app/logs/*
app/bootstrap*
vendor/*
web/bundles/
app/config/parameters.yml
web/public/img/users/*
but I want the directory web/public/img/users not to be ignored (only
files inside). I mean, when a git clone repo is done, the directory must
be made, but not the files inside. How can I do it?
No comments:
Post a Comment