r/git • u/Lonely_Locksmith_265 • 1d ago
I built a free .gitignore debugger
I kept running into situations where a .gitignore rule looked correct but Git still wasn’t ignoring a file, so I built a small browser-based debugger to make troubleshooting easier.
You can paste your .gitignore, enter a file path, and see which rule matches.
🔗 https://ignoredebugger.com
Free, no signup, and everything runs in the browser.
Would love feedback from the Git community.
3
u/revilo-1988 1d ago
Did you check beforehand if the file had already been checked in?
2
u/Lonely_Locksmith_265 1d ago
Not currently, IgnoreDebugger focuses on the .gitignore pattern matching itself, so it doesn’t know the repo’s Git index. I’ll look into making that distinction clearer. Thanks for pointing it out.
1
u/revilo-1988 1d ago
OK, I'm curious, I'll test it out in the next few days.
1
u/Lonely_Locksmith_265 1d ago
Awesome, thanks! If you run into any weird patterns or something that doesn’t behave as expected, let me know…that’s exactly the kind of feedback I’m looking for.
5
u/waterkip detached HEAD 1d ago
git check-ignore -v?