Answers for "how to reverse the last merge with main in github"

2

remove or undo last merge git

git reset --merge ORIG_HEAD
Posted by: Guest on October-21-2021
0

undo a git merge

git reset --hard HEAD~1
git reset --hard <commit_sha>
Posted by: Guest on March-05-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language