解决办法:git
1.cmd进入项目的根目录。spa
2.执行下面的命令:git pull origin master --allow-unrelated-histories。能够提交成功。cmd
3.再次push。it