git reset --hard <commit_id> git push origin HEAD --force clone指定分支: git clone -b <branch> <remote_repo>