网站开发文档doc,做公司网站哪家 上海,栖霞企业网站建设,手机淘宝官网首页在通过 Git Bash 提交项目代码时输入 git add . 命令后#xff0c;报错#xff1a;fatal: detected dubious ownership in repository at 
这是因为该项目的所有者与现在的用户不一致 比如说#xff1a; 该项目的所有者是 Administrator#xff0c;而当前用户是 YuYang, 那…在通过 Git Bash 提交项目代码时输入 git add . 命令后报错fatal: detected dubious ownership in repository at 
这是因为该项目的所有者与现在的用户不一致 比如说 该项目的所有者是 Administrator而当前用户是 YuYang, 那么就会导致上面的错误 
解决的办法也很简单在 git bash 中输入 
git config --global --add safe.directory *