master 分支强制回退
2022-05-31 本文已影响0人
kelly_0416
前提是 去 GitLab 的 Settings - Repository - Protected Branches -unproject
git reset --hard ${commitid}
git push -f origin master
前提是 去 GitLab 的 Settings - Repository - Protected Branches -unproject
git reset --hard ${commitid}
git push -f origin master