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 -

c# - Retrieve google contact -

javascript - How to insert selected radio button value into table cell -