git报错:ownership 冲突

作者 : admin 本文共379个字,预计阅读时间需要1分钟 发布时间: 2024-06-11 共1人阅读

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’

本站无任何商业行为
个人在线分享 » git报错:ownership 冲突
E-->