fatal: detected dubious ownership in repository at 'D:/xxx'

Outsrkem / 2023-05-12 / 原文

 

git的出现这个错误:

 

执行下面代码即可:

git config --global --add safe.directory "*";