git add 错误修改方法
2024-10-20 06:18:32
git add a.txt
报如下错误:
fatal: Unable to create 'E:/git/.git/index.lock': File exists.
Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
只需要删除E:/git/.git/index.lock 下的index.lock文件即可,
.git 是隐藏文件,设置隐藏文件显示即可。
最新文章
- C语言中内存操作函数
- 浅析SQL Server实现分布式事务的两阶段提交协议2PC
- JavaWeb学习之tomcat安装与运行、tomcat的目录结构、配置tomcat的管理用户、web项目目录、虚拟目录、虚拟主机(1)
- Silverlight自定义控件开发:温度计
- animate实现动画效果
- 【求无向图的桥,有重边】ZOJ - 2588 Burning Bridges
- HDU 5680 zxa and set (数学 推导结论)
- 解读Unity中的CG编写Shader系列4——unity中的圆角矩形shader
- Crontab使用mailx的一点发现
- Android性能优化典范 - 第5季
- Spring NamedParameterJdbcTemplate命名参数查询条件封装, NamedParameterJdbcTemplate查询封装
- PAT-甲级-1003
- SuperMap iClient for JavaScript初入
- 【Unity3D与23种设计模式】桥接模式(Bridge)
- ios Block详解
- C和C指针小记(十二)-函数的可变参数表
- Linux Centos 7.4 内核升级
- hive查询操作
- Python基础教程学习笔记:第一章 基础知识
- Redis Cluster 简单安装配置