Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
blktiger
on Nov 11, 2013
|
parent
|
context
|
favorite
| on:
Jenkin developers accidentally do "git push --forc...
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.
jlgreco
on Nov 11, 2013
[–]
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: