Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mmanfrin
on June 8, 2015
|
parent
|
context
|
favorite
| on:
How to undo almost anything with Git
It was a series of PRs merged on github, no one in the office had a current branch of develop.
dsp1234
on June 8, 2015
|
next
[–]
It looks like you can use the GitHub API to get the events for the specific repo, which would include your force push, and the hash of the previous commit. Some instructions at
https://objectpartners.com/2014/02/11/recovering-a-commit-fr...
edit: This should be in reply to jordigh's comment above
lmm
on June 9, 2015
|
prev
[–]
If it's just a matter of "merging" couldn't you just merge those branches again? Or do you resolve conflicts on github or some such (something that's never fit my workflow but I can imagine others using it)?
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: