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

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -