当前位置:   article > 正文

查看文件处于什么状态时,错误为“FATAL:在以下位置的存储库中检测到可疑所有权”_but the current user is:

but the current user is:

出现以下情况烦请各位大佬告诉我应当如何解决

$ git status
fatal: detected dubious ownership in repository at 'D:/'
'D:/' is owned by:
        'S-1-5-18'
but the current user is:
        'S-1-5-21-950603086-806853457-3538489594-1001'
To add an exception for this directory, call:

        git config --global --add safe.directory D:/

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

闽ICP备14008679号