Move the cursor back to the last known good commit:
git push -f origin last_known_good_commit:branch_name
Created
October 10, 2024 13:55
-
-
Save L480/af8183017a67bc8550aeb6575b8d4457 to your computer and use it in GitHub Desktop.
Revert pushed commit in git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment