Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the specific thing you want, force push is the only way AFAIK. However, my argument is that you should let the commits reflect the true history of the code. Fix the minor error and explain it in the message.


The downside of the "true history" approach, besides obvious aesthetic reasons, is that it precludes the use of such tools as `git bisect` and `git blame`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: