Learn from my mistake, kids: Don't leave a bunch of changes uncommitted and then leave your repository untouched for ages! You'll forget what you were in the middle of and end up very confused about what files to commit and in what order.
Or if you're exceptionally unlucky the software you need to test or compile will update and your code will no longer work properly. *shudders*
I'd just check everything in and then check out an earlier version if needed. It's what's nice with an SCM: everything is stored, including the history. And a debugger can help in development as well as figuring out what was wrong. But you probably knew that.
A instance dedicated - but not limited - to people with an interest in the GNU+Linux ecosystem and/or general tech. Sysadmins to enthusiasts, creators to movielovers - Welcome!