More often than I would like, I'm commiting using git commit -a, and I end up with files commited that aren't supposed to be there To undo the latest commit, I can git reset HEAD~, but for whatever reason, I can't fit this in my head. So I just added …