Skip to content
RED SAG Skills
hardStudy question · answer published in Git interview questions, so no pointsci-cdgit

Recovering after a bad force push

You ran `git reset --hard HEAD~3` on your feature branch by mistake and then force-pushed. The 3 commits are gone from the remote branch. How can you get them back from your own machine?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions