GIT报错:Could not get HEAD hash. libgit2 returned:repository path "xx" is not owned by current user
GIT报错:Could not get HEAD hash. libgit2 returned:repository path "xx" is not owned by current userGIT报错:Could not get HEAD hash. libgit2 returned:repository path "xx" is not owned by current user 原因:重装了操作系统,当前git目录windows权限不一致
解决方案
在vs解决方案根目录下右键属性,打开窗口,并跳转到“安全选项卡”,如下图所示:

点【高级】按钮,弹出下面对话框:

输入当前登录Windows账号,作者是 administrator 登录,输入 administrator ,点【检查名称】


勾选“替换子容器和对象的所有者”,点 【应用】,然后【确定】
重新打开解决方案后就不会再出现存储库不安全的提示了
参考:

参考文档:
Nuget引用VS编译错误 CefSharp.Common is unable to proceeed as your current Platform is 'AnyCPU'
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
FastReport.NET报错 System.PlatformNotSupportedException:“Operation is not supported on this platform.”
升级程序DataTable.ReadXml报错:MySql.Data.Types.MySqlDateTime is not allowed here
.NETCore WebApi运行报错:System.AggregateException:“Some services are not able to be constructed|C/S开发框架
XtraReport 报错:Report scripts were found in the application while the script execution is disabled.
BUG: dalUser.CopyPermission方法
C#转换IList对象数组为byte数组.然后通过WebService传递
FastReport报错:TfrxReportClass cold not be found!
获取当前方法名称:MethodBase.GetCurrentMethod().Name|C/S开发框架
CSFrameworkV6试用版开发指南 | GetDataByKey 方法使用与扩展应用|C/S开发框架
VS2022 Git无法正常工作,因为检测到"xxx"存储库可能不安全。如果信任此存储库,则可以将其标记为安全
Win10安装TortoiseGit 2.14,The error code is 2503 解决方案
软件开发与设计 - MIS-管理信息系统(福建XXX通信软件有限公司数据库设计)
提交GIT服务器失败,提示Git failed with a fatal error.Permission denied,.vs/Server/sqlite3/db.lock
解决GIT无法提交源码方案之一:git did not exit cleanly (exit code 1)
Nuget引用VS编译错误 CefSharp.Common is unable to proceeed as your current Platform is 'AnyCPU'
The server factory could not be located for the given input: Microsoft.Owin.Host.HttpListener
FastReport.NET报错 System.PlatformNotSupportedException:“Operation is not supported on this platform.”
升级程序DataTable.ReadXml报错:MySql.Data.Types.MySqlDateTime is not allowed here
.NETCore WebApi运行报错:System.AggregateException:“Some services are not able to be constructed|C/S开发框架
XtraReport 报错:Report scripts were found in the application while the script execution is disabled.
BUG: dalUser.CopyPermission方法
C#转换IList对象数组为byte数组.然后通过WebService传递
FastReport报错:TfrxReportClass cold not be found!
获取当前方法名称:MethodBase.GetCurrentMethod().Name|C/S开发框架
CSFrameworkV6试用版开发指南 | GetDataByKey 方法使用与扩展应用|C/S开发框架
VS2022 Git无法正常工作,因为检测到"xxx"存储库可能不安全。如果信任此存储库,则可以将其标记为安全
Win10安装TortoiseGit 2.14,The error code is 2503 解决方案
软件开发与设计 - MIS-管理信息系统(福建XXX通信软件有限公司数据库设计)
提交GIT服务器失败,提示Git failed with a fatal error.Permission denied,.vs/Server/sqlite3/db.lock
解决GIT无法提交源码方案之一:git did not exit cleanly (exit code 1)
其它资料:
什么是C/S结构? | C/S框架核心组成部分 | C/S框架-WebService部署图 | C/S框架-权限管理 | C/S结构系统框架 - 5.1旗舰版介绍 | C/S结构系统框架 - 功能介绍 | C/S结构系统框架 - 产品列表 | C/S结构系统框架 - 应用展示(图) | 三层体系架构详解 | C/S架构轻量级快速开发框架 | C/S框架网客户案例 | WebApi快速开发框架 | C/S框架代码生成器 | 用户授权注册软件系统 | 版本自动升级软件 | 数据库底层应用框架 | CSFramework.CMS内容管理系统 |
什么是C/S结构? | C/S框架核心组成部分 | C/S框架-WebService部署图 | C/S框架-权限管理 | C/S结构系统框架 - 5.1旗舰版介绍 | C/S结构系统框架 - 功能介绍 | C/S结构系统框架 - 产品列表 | C/S结构系统框架 - 应用展示(图) | 三层体系架构详解 | C/S架构轻量级快速开发框架 | C/S框架网客户案例 | WebApi快速开发框架 | C/S框架代码生成器 | 用户授权注册软件系统 | 版本自动升级软件 | 数据库底层应用框架 | CSFramework.CMS内容管理系统 |
在线客服
