解决 Git 错误:fatal: detected dubious ownership in repository
执行以下命令来解决该问题:
-
打开命令行窗口。
-
输入以下命令并按 Enter 键:
git config --global --add safe.directory '%(prefix)///172.24.185.189/root/CPE/cpe'
-
现在,您应该能够在不遇到错误的情况下访问该目录了。
原文地址: https://www.cveoy.top/t/topic/nNHS 著作权归作者所有。请勿转载和采集!