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

We've been using the prevent force push hook for Atlassian's Stash on my team to avoid situations like this. If you really need to force push, you can get around it by deleting the branch and re-creating the branch.


I think this is the best setup to run with. There really are few cases where a non-fastforward push to a public repo is called for.




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

Search: