delete commit head code example
Example 1: delete commit head
git rebase --continue
git push <remote_repo> <remote_branch> -f
Example 2: delete commit head
git reset HEAD^ --hard
git push <<remote>> -f
git rebase --continue
git push <remote_repo> <remote_branch> -f
git reset HEAD^ --hard
git push <<remote>> -f