当前位置:   article > 正文

fatal: detected dubious ownership in repository at

fatal: detected dubious ownership in repository at is owned by:

一、问题描述:

fatal: detected dubious ownership in repository at

xxxgit.exe pull --progress -v --no-rebase "origin"
fatal: detected dubious ownership in repository at 'F:/xxxx'
'F:/xxx' is owned by:
'S-1-5-21-4206793223-2530598787-2301440318-1001'
but the current user is:
'S-1-5-21-2386230331-2992271977-4265062834-1001'
To add an exception for this directory, call:

git config --global --add safe.directory 'F:/xxx'
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

二、解决方案:

打开 git bash ,使用命令如下:

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

闽ICP备14008679号