how to empty commits in git code example
Example 1: git clear commits
git reset --hard origin
Example 2: empty-commoit
git commit --allow-empty -m "run build"
git reset --hard origin
git commit --allow-empty -m "run build"