git reset 重置远程分支到指定提交commitId

1. 通过commit id回退

git reset --hard commitId

2. 强制push,否则push不上去

git push -f origin hotfix/6.4.6
 

你可能感兴趣的:(Git)