git 报错和解决

1.报错

fatal: refusing to merge unrelated histories

解决

两个不相干的库进行合并,需要进行强制合并

git pull origin master --allow-unrelated-histories

再次提交即可

2.

猜你喜欢

转载自www.cnblogs.com/huay/p/11302964.html