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

Yep you can recover from force pushes on the remote - ie: you can reset it. You have to do it using GitHub’s web API but it is possible (and handy!)

As GitHub themselves say:

> Warning: Once you have pushed a commit to GitHub, you should consider any data it contains to be compromised. If you committed a password, change it! If you committed a key, generate a new one [0]

[0]: https://help.github.com/articles/removing-sensitive-data-fro...



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

Search: