The below command can remove the history of rebase merging. it sometimes makes you are angry because the branch can’t checkout to another if you are doing rebase-merge.
You can remove the task of rebase-merge to checkout another branch.
1 | > rm -fr ".git/rebase-merge" |