First use “git log” to find the commit hash of your merge and copy it somewhere. Then use You can then recommit with the comment of “revert merge” or something similar