Win10系统,使用VSCode提示错误fatal: detected dubious ownership in repository at
1 环境信息
1、Win10 系统
2、VSCode 软件
2 问题现象
使用 VSCode 打开 Samba 中的 Git 工程时,Git 相关插件不会启用,通过 git 输出界面,可以看到有提示如下错误
截取部分错误提示如下:
fatal: detected dubious ownership in repository at
3 问题原因
更新 Git 版本导致
4 问题解决
1、查了很多资料,基本就是两种方法
- 更改文件夹用户名
- 将文件夹忽略安全检测
2、我采用了第二种方法,忽略安全检测。
(1)操作步骤,根据 Git 的错误提示来即可。
(2)在 Win10 环境下,打开 git bash ,使用命令如下:
git config --global --add safe.directory '*'
3、注意:一定要在 Win10 本地环境下打开 git bash ,执行命令,不是在服务器操作!不是在服务器操作!不是在服务器操作!
Win10系统,使用VSCode提示错误fatal: detected dubious ownership in repository at相关推荐
- git fatal: detected dubious ownership in repository 解决方法
前言 最近windows 10 更新后,发现非常卡顿,鼠标右键,偶尔要等10秒才能有反应,无法系统还原,但是可以通过装机软件,进行重置,类似于系统重新安装 重置 windows 10后,因为更新了用户 ...
- fatal: detected dubious ownership in repository git报错解决
文章目录 环境 原因 解决方案 变更文件夹权限 设置git安全目录 环境 win10,git 原因 由于win10重装系统后,文件夹所有者变了,导致git pull等都出现了该问题 fatal: de ...
- fatal detected dubious ownership in repository at解决办法
转自:noerror.net 问题描述 执行git submodule update --init --recursive更新子模块时报错: fatal: detected dubious owner ...
- fatal: detected dubious ownership in repository(已解决)
前言 最近windows 10 更新后,发现非常卡顿,鼠标右键,偶尔要等10秒才能有反应,无法系统还原,但是可以通过装机软件,进行重置,类似于系统重新安装 重置 windows 10后,因为更新了用户 ...
- 【ubuntu】fatal: detected dubious ownership in repository at ...
在ubuntu使用git的时候遇到了以下错误: fatal: detected dubious ownership in repository at '/home/xxx' To add an exc ...
- git pull拉取报错fatal: detected dubious ownership in repository
重装系统之后,项目的所有者发生了变化,导致git的文件夹权限错乱,无法进行git 操作. 1. git pull拉取报错 fatal: detected dubious ownership in re ...
- fatal: detected dubious ownership in repository at....
显示如下: $ git remote add origin git@github.com:2002060229jby/timeseries_course.git fatal: detected dub ...
- 【Git】报错处理:fatal: detected dubious ownership in repository at .....Set the environment variable GIT_T
[Git]报错处理:fatal: detected dubious ownership in repository at ..... 异常信息 解决 异常信息 Windows PowerShell 版 ...
- fatal: detected dubious ownership in repository at ‘/home/
fatal: detected dubious ownership in repository at '/home/ To add an exception for this directory, c ...
最新文章
- 均衡发展计算机教室材料,义务教育均衡发展材料.pdf
- git使用---工作区和暂存区
- 软硬件协同编程 - C#玩转CPU高速缓存(附示例)
- 【设计模式之美】<Reading Notes>抽象类与接口
- 前端学习(1877)vue之电商管理系统电商系统之头部布局
- mysql 表上限_mysql 数据库表的上限
- Linux查看lvm元数据,LVM元数据服务lvmetad分析
- python编程(paddle ocr)
- python中完整类的定义_详解Python中类的定义与使用
- 舒尔特注意力训练表格_用微信小程序里训练提升你的专注力
- 小米笔记本pro15.6 8550u安装黑苹果+win10双系统(双硬盘版)
- SVN忽略设置的方法
- 索尼耳机的降噪功能怎么样?
- HTML5期末大作业:动漫人物介绍网站设计——哆啦A梦(5页) HTML+CSS+JavaScript 学生动漫网页设计模板下载 哆啦A大学生HTML网页制作作品 简单漫画网页设计成品
- 1 k 1 k2c语言,一张图告诉你斐讯路由器K1S、K2,K2C的区别
- Typora:明明保存了,但是却内容丢失了
- RuntimeError: NCCL error in: /pytorch/torch/lib/c10d/ProcessGroupNCCL.cpp:784, unhandled system erro
- 如何做好项目管理,实现高效的项目管理?
- Windows 2008 R2 配置 DNS 实现二级域名
- 计算机五大部件相关知识
热门文章
- 陪读21:《像利弗莫尔一样交易·买在关键点》——板块时机
- Flutter 实体类转String,String转实体类
- (三十一:2021.01.12)MICCAI 2018 追踪之论文纲要(下)
- 华为HCIA考试全解答
- yum安装软件时报错:Errors during downloading metadata for repository ‘AppStream‘的处理
- 【RFC6405 IP 电话 (VoIP) SIP 对等互连用例 VoIP SIP Peering Use Cases】(翻译)
- 进入ubuntu进入系统时忘记密码了怎么办
- UVALive 4487 - Exclusive-OR -并查集 虚根
- win10禁用触摸键盘_如何在Windows 8和10中永久禁用触摸键盘
- 论文笔记(三):PoseCNN: A Convolutional Neural Network for 6D Object Pose Estimation in Cluttered Scenes