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’