【Git】报错处理:fatal: detected dubious ownership in repository at .....

  • 异常信息
  • 解决

异常信息

Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。尝试新的跨平台 PowerShell https://aka.ms/pscore6PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers>
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers>
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers> git pull
fatal: detected dubious ownership in repository at 'C:/Users/Administrator/Desktop/she_qu_tuan_gou/_work/drivers'
To add an exception for this directory, call:git config --global --add safe.directory C:/Users/Administrator/Desktop/she_qu_tuan_gou/_work/drivers    Set the environment variable GIT_TEST_DEBUG_UNSAFE_DIRECTORIES=true and run
again for more information.
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers>
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers>
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers> git config --global --add safe.directory C:/Users/Administrator/Desktop/she_qu_tuan_gou
/_work/drivers
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers>
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers> git pull
Already up to date.
PS C:\Users\Administrator\Desktop\she_qu_tuan_gou\_work\drivers> 

解决

git config --global --add safe.directory C:/Users/Administrator/Desktop/she_qu_tuan_gou/_work/drivers

【Git】报错处理:fatal: detected dubious ownership in repository at .....Set the environment variable GIT_T相关推荐

  1. fatal detected dubious ownership in repository at解决办法

    转自:noerror.net 问题描述 执行git submodule update --init --recursive更新子模块时报错: fatal: detected dubious owner ...

  2. fatal: detected dubious ownership in repository git报错解决

    文章目录 环境 原因 解决方案 变更文件夹权限 设置git安全目录 环境 win10,git 原因 由于win10重装系统后,文件夹所有者变了,导致git pull等都出现了该问题 fatal: de ...

  3. git pull拉取报错fatal: detected dubious ownership in repository

    重装系统之后,项目的所有者发生了变化,导致git的文件夹权限错乱,无法进行git 操作. 1. git pull拉取报错 fatal: detected dubious ownership in re ...

  4. Git异常fatal: detected dubious ownership in repository at

    Git报错: $ git remote fatal: detected dubious ownership in repository at 'C:/Users/DELL/code/larabbs' ...

  5. git fatal: detected dubious ownership in repository 解决方法

    前言 最近windows 10 更新后,发现非常卡顿,鼠标右键,偶尔要等10秒才能有反应,无法系统还原,但是可以通过装机软件,进行重置,类似于系统重新安装 重置 windows 10后,因为更新了用户 ...

  6. git 出现 : fatal: detected dubious ownership in repository

    使用git的时候突然出现 fatal: detected dubious ownership in repository at 'D:/Web/map-tiles-downloader_node' ' ...

  7. fatal: detected dubious ownership in repository at....

    显示如下: $ git remote add origin git@github.com:2002060229jby/timeseries_course.git fatal: detected dub ...

  8. fatal: detected dubious ownership in repository at ‘/home/

    fatal: detected dubious ownership in repository at '/home/ To add an exception for this directory, c ...

  9. Win10系统,使用VSCode提示错误fatal: detected dubious ownership in repository at

    1 环境信息 1.Win10 系统 2.VSCode 软件 2 问题现象 使用 VSCode 打开 Samba 中的 Git 工程时,Git 相关插件不会启用,通过 git 输出界面,可以看到有提示如 ...

最新文章

  1. 咨询公司建议完美批准私有化
  2. 计算机网络协议(一)
  3. PAT (Basic Level) 1034 有理数四则运算(模拟)
  4. 在Windows Server 2012 R2 Standard 部署 ASP.NET Core程序
  5. C#多线程编程系列(五)- 浅析C# Dictionary实现原理
  6. python每个字符后添加空格_python实现指定字符串补全空格的方法
  7. eval() python_python基础-input函数和eval函数
  8. linux下C语言简单实现线程池
  9. android 首页接口设计方案,Android开发最佳实践——1.接口设计
  10. 如何用jQuery获得radio的值
  11. JMS系列(三)-java操作JMS Topic实例
  12. OpenInventor笔记:线性坐标轴PoLinearAxis的使用
  13. Python调整图片透明度
  14. 查看计算机安装程序版本,Product Key Explorer(程序密钥显示工具)
  15. 机器人正运动学与旋量
  16. 可编程逻辑器件FPGA学习-VHDL
  17. H264格式详细说明
  18. MSXML版本6.10.1129.0
  19. python txt文本转json格式
  20. 【题目】一个信道的比特速率为4Mbps,信号的传播延迟为20ms,数据帧的大小为10^4比特,采用滑动串口协议,不考虑帧的生成时间,支持捎带应答,那么帧序号应为多少bit?

热门文章

  1. Matlab中stft函数的使用与原理
  2. python能调用身份证读卡器吗_用Python在Linux下调用新中新DKQ-A16D读卡器,读二代证数据...
  3. -bash:/etc/profile: line 21: syntax error near unexpected token `$‘do\r‘‘
  4. 基于微信的分布式系统分析
  5. Android三级列表
  6. 解决前端跨域的问题.Access to XMLHttpRequest at http://xxx.xxx from origin 'http://localhost:8000' has been bl
  7. 北京新世纪计算机学校地,石家庄新世纪电脑学校
  8. 基于单片机的气象监测系统
  9. P2P技术软件Murder分发大文件
  10. chmod +s权限升级小结