【记录】git error:bad signature 解决方法

  今天提交git 的时候出现 bad signature 错误,意思是git下的index文件损坏了,需要重新生成下

error: bad signature

fatal: index file corrupt

rm -f .git/index

git reset

  

之后再从新提交就可以了

参考地址:https://www.cnblogs.com/linga/p/10214955.html

原文地址:https://www.cnblogs.com/wbl001/p/12094374.html

时间: 2024-08-30 14:14:38

【记录】git error:bad signature 解决方法的相关文章

如何在Eclipse正确安装配置PyDev插件的官方教程,以及error 问题的解决方法:

官方教程; 1 1 This manual assumes that you have already have Python and/or Jython and/or IronPython installed in your machine, as well as Eclipse. Manual topics: Installing from update site and zips uninstalling Configuring the interpreter specify the py

navicat连接oracle数据库报ORA-28547: connection to server failed, probable Oracle Net admin error错误的解决方法

原文:navicat连接oracle数据库报ORA-28547: connection to server failed, probable Oracle Net admin error错误的解决方法 navicat是通过oracle客户端连接oracle服务器的. oracle的客户端有两种,一种标准的客户端安装程序,下载地址: http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html

mysql error nr.1045 解决方法

源地址:http://yanshuaijun.2010.blog.163.com/blog/static/362411622011102443056225/ 主题:mysql error nr.1045 解决方法 2011-11-24 16:30:56|  分类: mysql|举报|字号 订阅 1.进入cmd手动停止mysql服务:net stop mysql. 2.修改C:\Program Files\MySQL\MySQL Server 5.1\ 目录下的my.ini文件,在[mysqld]

linux下安装php make: *** [sapi/cli/php] 错误 1 和 [ext/fileinfo/libmagic/apprentice.lo] Error 1的解决方法

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Arial; color: #333333; background-color: #ffffff } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Arial; color: #333333; background-color: #ffffff; min-height: 16.0px } span.s1 { } make: ***

ORA-06502: PL/SQL: numeric or value error: character to number conversion error 错误的解决方法

故障描述:中间层调用存储过程报错,到PL/SQL中对存储过程进行调试报以下错误 ORA-06502: PL/SQL: numeric or value error: character to number conversion errorORA-06512: at "PROCESS_DRUG_SAME_AS_INFO", line 24ORA-06512: at line 1 错误原因: 找到存储过程PROCESS_DRUG_SAME_AS_INFO,并将代码定位在24行,发现代码中两

yum安装软件包时出现Transaction Check Error:错误的解决方法

[[email protected] ~]# yum install ipa-server Transaction Check Error:  file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch  file /usr/share/

安装软件出现nsis error对话框的解决方法

多时候,安装软件的时候出现nsis error对话框,软件不能继续安装.如何解决安装软件出现nsis error对话框的问题呢? 安装软件出现nsis error对话框的解决方法 安装软件出现nsis error对话框,而使软件不能继续安装,与计算机的硬件不兼容有关,如:内存不兼容或者其它硬件不兼容,这就得检测硬件的兼容性才行,如果排除了硬件的问题外,我们可以采用如下方法加以解决. 步骤: 右键 - 安装软件 - 创建快捷方式: 如:安装百度输入法,我们右键单击:百度输入法 -创建快捷方式,得到

opencv2\flann\logger.h(66): error C4996: 'fopen' 解决方法

Visual Studio 使用opencvc出现以下错误: \opencv2\flann\logger.h(66): error C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>          c

yum安装软件包提示Error Downloading Packages解决方法

使用 yum install hmaccalc.x86_64 安装软件包时,提示:Error Downloading Packages 解决方法: 1.清理本地yum缓存 执行:yum clean all 2.查看软件包列表 执行:yum list 注意:如果查询不到软件包列表,查看yum源是否配置正确.