how to remove the merged commit of a user code example Example: remving merged commit git revert -m 1 <SHA of merge>