how to delete merge commit using rebase code example Example: remving merged commit git revert -m 1 <SHA of merge>