当前位置:   article > 正文

Git报错信息解决:fatal: detected dubious ownership in repository_fatal: detected dubious ownership in repository at

fatal: detected dubious ownership in repository at 'd:/' 'd:/' is owned by:

git pull 报错解决

fatal: detected dubious ownership in repository at ‘D:/xx/xx/xx’
‘D:/xx/xx/xx’ is owned by:
‘S-1-5-21-1938902806-3970791919-178131098-1000’
but the current user is:
‘S-1-5-21-2978362053-1919317095-4107791047-1002’

解决如下:输入以下命令
git config --global --add safe.directory D:/xx/xx/xx
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/AllinToyou/article/detail/457685
推荐阅读
相关标签
  

闽ICP备14008679号