git錯誤筆記長期更新ing
refusing to merge unrelated histories
錯誤原因分析:因爲最開始不是直接在遠端倉庫上clone下來的,導致遠端倉庫和你本地倉庫沒有任何歷史記錄的關聯
解決方法:git pull origin master --allow-unrelated-histories
錯誤原因分析:因爲最開始不是直接在遠端倉庫上clone下來的,導致遠端倉庫和你本地倉庫沒有任何歷史記錄的關聯
解決方法:git pull origin master --allow-unrelated-histories
繼續運行 ?* 回憶上次內容 上次使用shell環境中的命令 命令 作用 c