Day: January 3, 2023
-
How to undo a pushed merge in Git
First use “git log –oneline” to find the commit that you want to go back to and copy it somewhere. Then use You are now reset back to a previous commit. To finish, do force push.
First use “git log –oneline” to find the commit that you want to go back to and copy it somewhere. Then use You are now reset back to a previous commit. To finish, do force push.