赞
踩
1.重置到某次提交,选择强行合并。
2.git强行推送,借助终端,git push -u origin <分支名> -f ,例如:master分支git push -u origin master -f。
注意:master分支有保护,需要把master分支保护关闭,操作如下:
a.进入所在项目的settings,点击进入Protected branches,点击unprotected将master分支的权限改变,即关闭master的protected权限。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。