在碼云申請了賬號,網(wǎng)頁新建項(xiàng)目后,在Xcode新建 git remote 后
Pull 提示 :
refusing to merge unrelated histories
解決方法:
git pull --allow-unrelated-histories
意思:
allow merging unrelated histories
原因:
在網(wǎng)頁新建項(xiàng)目后,本地項(xiàng)目和托管項(xiàng)目是完全兩個(gè)不通的項(xiàng)目