错误描述
重装系统后,提交项目代码到gitee程序报错:
11:21 Failed to create Gitee Repository
detected dubious ownership in repository at 'E:/Workspaces/SpringBoot/saToken'
'E:/Workspaces/SpringBoot/saToken' is owned by:
'S-1-5-21-1301660696-4210872564-2794906377-1001'
but the current user is:
'S-1-5-21-1575586477-2791995752-1942928040-1001'
To add an exception for this directory, call:
git config --global --add safe.directory E:/Workspaces/SpringBoot/saToken
如下图所示:

原因
文件所属用户不是当前用户
解决方案
在Windows中更改文件或文件夹的所有权





单击确定按钮,再次单击确定按钮

单击确定按钮







![ZKP4.2 SNARKs via Interactive Proofs (Sum-check Protocol [LFKN90])](https://img-blog.csdnimg.cn/404302188271494383656d585496bd62.png#pic_center)










