Revert the full commit Move to branch target ex: master git checkout {branch} Get commit id from the repo or git log and reseted git reset --hard {commit_id} Last, push with update forced git push origin -f