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

Wait. Force pushes? That's a terrible habit to get into; force pushes have decimated more than a few a open source project's repository.

https://news.ycombinator.com/item?id=6713742



What? Pull requests should be on their own branches, if you want to keep one commit per PR but need to edit it you must rebase it and thus force push. It’s a terrible habit if you’re sharing your branch with others, it’s completely normal if not.


Force pushes to the PR fork. We have set receive.denyNonFastForwards=true on the upstream master.




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

Search: