push to origin/master was rejected 解决办法
使用IDE git提交代码的时候,出现push to origin/master was rejected(如下图)解决办法如下:
1、打开terminal
2、git pull
3、git pull origin master
4、git pull origin master --allow-unrelated-histories
5、重新push,发现push成功
原文地址:https://www.cnblogs.com/jakaBlog/p/10592066.html
时间: 2024-10-06 12:00:30