Test before commit, test before push. Then you won't have these stupid fixes.