github - Ignore a git directory in composer package -


i have composer library hosted package on packagist through github. repository includes directory named sample samples on how use code , directory not needed when using package.

is there way have directory ignored when composer update/install?

you technically can using .gitattributes , export-ignore directive. see http://git-scm.com/book/ch7-2.html#exporting-your-repository more details.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -