git checkout branch
git reset --hard e3f1e37
git push --force origin branch
还有一种叫做git revert ,然而有时候会有git revert cherry 的错误,这里记录一下备用
git checkout branch
git reset --hard e3f1e37
git push --force origin branch
还有一种叫做git revert ,然而有时候会有git revert cherry 的错误,这里记录一下备用
本文标题:git reset 远程分支的方法
本文链接:https://www.haomeiwen.com/subject/ivqchttx.html
网友评论