惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
G
Google Developers Blog
The GitHub Blog
The GitHub Blog
Jina AI
Jina AI
A
About on SuperTechFans
MongoDB | Blog
MongoDB | Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
酷 壳 – CoolShell
酷 壳 – CoolShell
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
B
Blog RSS Feed
大猫的无限游戏
大猫的无限游戏
美团技术团队
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
L
LangChain Blog
WordPress大学
WordPress大学
S
SegmentFault 最新的问题
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻

博客园 - 雪域月光

windows如何查看cpu是否支持aux2指令集 git commit错误 error: bad signature 0x00000000 fatal: index file corrupt git pull时遇到error: cannot lock ref 'xxx': ref xxx is at (一个commitID) but expected的解决办法 git tortoise commit时出错 fatal : unable to read f77cxxxxxxxxxxx git unable to resolve reference 'refs/remotes/gitee/20210825-add-Projet-coreScene': reference broken git如何获取远端仓库新分支 git 清除本地修改 项目添加git忽略文件无效的处理 freeswitch 使用info显示的通道变量 freeswitch dialplan 基础 字符编码:Unicode和UTF-8之间的关系 NET(C#):关于正确读取中文编码文件 UTF-8和GBK有什么区别 gb2312,gbk,utf8的区别 php+javascript实现的动态显示服务器运行程序进度条功能示例 PHP的ob_flush()与flush()区别 微信小程序如何实现和微信客服通话? 微信小程序如何接入? 微信小程序和微信公众号的id是一个吗
git tortoise commit 出现 fatal bad revidion head
雪域月光 · 2021-08-04 · via 博客园 - 雪域月光

第一次 、采用 update直接还原

git update-ref HEAD 3274b39b2cadfe128f047b618c8bf5a34c463a1a

git操作错误Failed to resolve HEAD as a valid ref解决方案_喵″的博客-CSDN博客

第二次:出现该问题,上述方式不好用,采用如下方法:

问题描述: 在git提交时一不小心被拔了插头,重启之后进行git操作提示错误
“fatal: your current branch appears to be broken”

问题原因: 在 .git\refs\heads\xxx(当前分支) 出现乱码

问题解决: 在.git\logs\refs\heads\xxx (当前分支) 中的最后一个哈希值 复制到 .git\refs\heads\xxx(当前分支) 中

找了许多方法,感觉这个是最简单的,亲测有效。
方法出处:http://blog.freecart.cn/archives/109