当前位置:   article > 正文

fatal: detected dubious ownership in repository at_detected dubious ownership in repository at is own

detected dubious ownership in repository at is owned by, but the current use

一、问题描述:

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博客】
推荐阅读
相关标签
  

闽ICP备14008679号