git錯誤筆記

git錯誤筆記長期更新ing

refusing to merge unrelated histories

錯誤原因分析:因爲最開始不是直接在遠端倉庫上clone下來的,導致遠端倉庫和你本地倉庫沒有任何歷史記錄的關聯
解決方法:git pull origin master --allow-unrelated-histories

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章