Created
April 2, 2023 11:38
-
-
Save andreisfedotov/aa477e4d79e9d1abcebf6739dc717a9b to your computer and use it in GitHub Desktop.
undo merge commit (local and remote)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git push -f origin <last_known_good_commit>:<branch_name> | |
git reset --hard <last_known_good_commit> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment