But I find it to be flawed in a few ways (e.g. the [Dd]ebug*/ pattern will match /myproject/Debugger/something.cs which I want to check in). Here's mine. Please edit my answer or post better ones if you have 'em!
## use glob syntax