git pull 解决 refusing to merge unrelated histories 错误

解决办法:

1.cmd进入项目的根目录。

2.执行下面的命令:git pull origin master --allow-unrelated-histories。可以提交成功。

3.再次push。

猜你喜欢

转载自www.cnblogs.com/kinome/p/10618155.html
今日推荐