git 相关问题

110 阅读1分钟

1. 报错:fatal: refusing to merge unrelated histories 

在操作命令后面加--allow-unrelated-histories
例如:
git pull origin master --allow-unrelated-histories