unset export-ignore for selected files in git -


i trying use .gitattributes selectively create an archive file files want in it..

i want git archive ignore except things want..

so i've trued use -export-ignore attribute ie .gitattributes

* export-ignore /somedir/orfile -export-ignore 

to produce archive /somedir/orfile in it.

i haven't been able work me.

i feel should work in same .gitattributes supports text/-text

i'm using git version 1.9.4

as understand, export-ignore excludes files exporting. if want ignore except /somedir/orfile, have mention other directories.

say, have directories a, b , c. export a:

b/ -export-ignore c/ -export-ignore 

Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -