git报错:ownership 冲突

detected dubious ownership in repository at '1_yolov7-bp-hp-wf' is owned by: (inconvertible) (S-1-5-21-2277249579) but the current user is: (S-1-5-21-3275946401-3083195216-) To add an exception for this directory, call: git config --global --add safe.directory '%(prefix)///1_yolov7-bp-hp-wf'

解决办法:

win + R打开后输入: PowerShell

然后在界面命令行界面中,输入以下命令并按回车键:

git config --global --add safe.directory '%(prefix)///1_yolov7-bp-hp-wf'

相关推荐

  1. gitownership 冲突

    2024-06-16 01:04:02       7 阅读
  2. git

    2024-06-16 01:04:02       6 阅读
  3. 编译时AndroidX冲突

    2024-06-16 01:04:02       33 阅读
  4. git clone 记录

    2024-06-16 01:04:02       12 阅读
  5. Django Admin“外键冲突”排查

    2024-06-16 01:04:02       11 阅读

最近更新

  1. TCP协议是安全的吗?

    2024-06-16 01:04:02       16 阅读
  2. 阿里云服务器执行yum,一直下载docker-ce-stable失败

    2024-06-16 01:04:02       16 阅读
  3. 【Python教程】压缩PDF文件大小

    2024-06-16 01:04:02       15 阅读
  4. 通过文章id递归查询所有评论(xml)

    2024-06-16 01:04:02       18 阅读

热门阅读

  1. Spring-AOP总结

    2024-06-16 01:04:02       5 阅读
  2. MPLS VPN1

    MPLS VPN1

    2024-06-16 01:04:02      8 阅读
  3. 嵌入式linux中pinctrl子系统驱动用法分析

    2024-06-16 01:04:02       7 阅读
  4. 光流法大全

    2024-06-16 01:04:02       10 阅读
  5. 设计模式之服务定位模式

    2024-06-16 01:04:02       7 阅读
  6. SpringCloud框架的复习(面试)

    2024-06-16 01:04:02       7 阅读