fatal: unsafe repository ('/azerothcore' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /azerothcore
--
Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
我在 Windows 10 上,在最新的主 AC 分支 (07.05) 上使用 git --version 2.36 的 docker 桌面
甚至無法檢查當前哈希圖片
我已經嘗試了相關執行緒中建議的所有內容。[safe] directory = *即使通過在我的 .gitconfig 中使用(我是唯一的用戶,所以這并不重要)來禁用該安全功能也不能解決這個問題。
編輯:我使用 docker 編譯,每次編譯時都會彈出,不,它最近在 git 安全更新后開始顯示。
uj5u.com熱心網友回復:
這可能不是最好的方法,但我只是修改為在呼叫之前apps\docker\docker-build-prod.sh添加git config --global --add safe.directory /azerothcorebash acore.sh compiler build
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/470949.html
