全速加载中...
登录
首页
文章
随笔
留言
友链
订阅
关于
更多
湘ICP备2021007748号-4
湘公网安备案湘公网安备43052202000137号
又拍云

git提交问题:fatal: detected dubious ownership in repository at xxxx

使用git提交代码时候出现了文件夹权限问题:fatal: detected dubious ownership in repository at xxxx

错误截图

执行以下代码即可解决:

language 复制代码
 git config --global --add safe.directory "*"
【版权声明】
✨ 本文来自 [张苹果博客] ✨
🌿 你可以:自由转发到社交网络或个人网站。
🌿 你需要:标注作者并附上本文链接(就像给文章留个回家地址~)。
上一篇 下一篇

评论一下

评论列表

 
暂无评论
用户头像
ZhangApple
发布日期:2024年03月12日