push to origin/master was rejected解决

在terminl窗口中依次输入命令:

git pull

git pull origin master

git pull origin master --allow-unrelated-histories

在idea中重新push自己的项目,成功!!!

此处作为记录

你可能感兴趣的:(push to origin/master was rejected解决)