git远程master回滚
-
显示提交的log
git log
-
回滚到指定的版本
方法一:
git reset --hard e377f6,…
方法二:
version control 窗口-log-筛选查找指定的log-reset current branch to here

-
强制提交
git push --force
-
git报错,需要进入gitlab项目设置,protected branches里取消master的protected,点击unprotected

git远程master回滚
显示提交的log
git log
回滚到指定的版本
方法一:
git reset --hard e377f6,…
方法二:
version control 窗口-log-筛选查找指定的log-reset current branch to here

强制提交
git push --force
git报错,需要进入gitlab项目设置,protected branches里取消master的protected,点击unprotected


被折叠的 条评论
为什么被折叠?