问题截图: 解决方法: 打开idea命令行输入: git pull origin master --allow-unrelated-histories 其中origin master是上传时分支的名称。 有其他交流的想法,可以加我创建的Q群:820080257