push to origin/master was rejected 解决办法 push to origin/master was rejected 解决办法 使用IDE git提交代码的时候,出现push to origin/master was rejected(如下图)解决办法如下: 1、idea中打开terminal( alt +F12 ) 2、git pull 3、git pull origin master 4、git pull origin master –allow-unrelated-histories 5、重新push,发现push成功 top8488大数据 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 转载请注明原文链接:idea提交git出现push to origin/master was rejected 喜欢 (0)赏[]分享 (0)