git reset force push code example
Example 1: git force push
git push --force
Example 2: git reset head force push
git reset --soft HEAD~3 &&
git commit
git push —force-with-lease origin
git push --force
git reset --soft HEAD~3 &&
git commit
git push —force-with-lease origin