It's all about the answers!

Ask a question

how to ignore folder content?


Eliah Ninyo (21415) | asked Mar 27 '16, 9:31 a.m.

hello,

i'm using RTC and i want to add to the jazzignore file a rule to ignore a specific filder but not its content.

for excluding a folder (including its content) the rule is simply {name_of_folder}. to exclude a file with suffix abc simply {*.abc}.

but how do i exclude a folder content and not the folder itself?

thanks!

Accepted answer


permanent link
Donald Nong (14.5k514) | answered Mar 28 '16, 12:42 a.m.
What you stated is a bit confusing. I will rephrase with common sense and hopefully that's what you want - you only want to add a folder itself, but not the contents that it contains, to source control.

If that's indeed the case, it should be quite easy - you just add a .jazzignore file in the specific folder and use the {*} filter. This way, all the files in this folder will be ignored.
Eliah Ninyo selected this answer as the correct answer

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.