I have several folders in my sync folder (it`s maven local repo folder): org/, com/, net/, mydomain/, mydomain2/ etc. But I need to sync only mydomain/ and mydomain2/ with their subfolders. So I suggest using such .stignore:
What am I doing wrong? In near future the number of such folders may increase so I don`t want to sync each of them separately.