使用git checkout branchname切换到对应的分支;切换到提交多次版本的最后一次提交git reset --soft commit-id使用git push -f强制push ,OK搞定收工