git Can‘t update Couldn‘t check the working tree for unmerged files because of an error.unsafe repos
IDEA更新代码的时候,Event Log报错Can’t updateCouldn’t check the working tree for unmerged files because of an error.unsafe repository (‘X:/xxx/xxx/xxx’ is owned by someone else)To add an exception for this dire
·
IDEA更新代码的时候,Event Log报错
Can’t update
Couldn’t check the working tree for unmerged files because of an error.
unsafe repository (‘X:/xxx/xxx/xxx’ is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory X:/xxx/xxx/xxx
无法更新由于错误,无法检查工作树中未合并的文件。不安全的存储库(‘X:xxx/xxx/xxx’ 归其他人所有)要为此目录添加异常,请调用: git config --global --add safe.directory X:xxx/xxx/xxx
在控制台执行输入代码里的提示,然后enter回车
git config --global --add safe.directory X:xxx/xxx/xxx
这样就可以了
更多推荐
已为社区贡献2条内容
所有评论(0)