How can i delete last 4 commits in remote code example
Example 1: git remove las remotet commit
git reset HEAD^ # remove commit locally
git push origin +HEAD # force-push the new HEAD commit
Example 2: remove last commit git
git reset --hard HEAD^
git push origin -f