I have a lot of projects in my .Net solution. I would like to exclude all \"bin/Debug\" and \"bin/Release\" folders (and their contents), but still include the \"bin\" folde
Have you tried wildcards?
Solution/*/bin/Debug Solution/*/bin/Release
With version 1.8.2 of git, you can also use the ** wildcard to match any level of subdirectories:
**
**/bin/Debug/ **/bin/Release/