windows更新系统后,git报错unsafe repository xxx is owned by someone else 未来前端架构师998 2022-07-01 248 阅读1分钟 windows更新系统后,git报错unsafe repository xxx is owned by someone else 只需要修改一个git全局配置文件 文件路径如下: "C:\Users\XXX.gitconfig" 打开这个文件,新增如下代码 [safe] directory = *