打开终端窗口,执行如下命令: git pull git pull origin master git pull origin master --allow-unrelated-histories 在idea中重新push自己的项目