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

Is there a reason why that recommendation cannot be changed to "don't ever force push unless you are certain no one else has fetched this branch"?


Well that's a distinction which makes sense in theory but is not realistic in practice for most projects with multiple contributors.


Over at ardour.org, we've never had an issue with this practice. Two core full time devs, dozens of others.


"fetched this branch" needs to include "started reviewing the PR", and probably other cases; it does mean switching modes for devs who usually rebase privately.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: