I'm pretty new with the whole .gitignore thing so I hope someone can help me out with this.
We're developing with Xamarin and we would like to ignore the packages/ folder except one file which is placed in different (sub)directories.
I would like to keep the following file:
/packages/SQLitePCL.raw_basic.0.8.2/build/Xamarin.iOS10/SQLitePCL.raw_basic.targets
But all the other folders and files inside /packages/ I would like to be removed.
I tried something like:
packages/
!packages/SQLitePCL.raw_basic.0.8.2/build/Xamarin.iOS10/SQLitePCL.raw_basic.targets
But I don't think this is the way to go.