0


git fatal: detected dubious ownership in repository

问题

在这里插入图片描述

分析

用户拥有者不对,怀疑是因为该仓库是在管理员权限下创建的,而此时是没有用管理员权限打开,所以显示拥有者不对。

解决办法

1. 按照提示

git config --global --add safe.directory C:/Users/wzq20/Desktop/ManifestProjectRoot/repoProjects/RoomIt/master/2022-10-31_19-53

2. 重新用管理员权限打开

在这里插入图片描述
可以正常使用了

标签: git

本文转载自: https://blog.csdn.net/WWWzq_/article/details/127669659
版权归原作者 WWWzq_ 所有, 如有侵权,请联系我们删除。

“git fatal: detected dubious ownership in repository”的评论:

还没有评论