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 是隐藏文件,设置隐藏文件显示即可。

最新文章

  1. C语言中内存操作函数
  2. 浅析SQL Server实现分布式事务的两阶段提交协议2PC
  3. JavaWeb学习之tomcat安装与运行、tomcat的目录结构、配置tomcat的管理用户、web项目目录、虚拟目录、虚拟主机(1)
  4. Silverlight自定义控件开发:温度计
  5. animate实现动画效果
  6. 【求无向图的桥,有重边】ZOJ - 2588 Burning Bridges
  7. HDU 5680 zxa and set (数学 推导结论)
  8. 解读Unity中的CG编写Shader系列4——unity中的圆角矩形shader
  9. Crontab使用mailx的一点发现
  10. Android性能优化典范 - 第5季
  11. Spring NamedParameterJdbcTemplate命名参数查询条件封装, NamedParameterJdbcTemplate查询封装
  12. PAT-甲级-1003
  13. SuperMap iClient for JavaScript初入
  14. 【Unity3D与23种设计模式】桥接模式(Bridge)
  15. ios Block详解
  16. C和C指针小记(十二)-函数的可变参数表
  17. Linux Centos 7.4 内核升级
  18. hive查询操作
  19. Python基础教程学习笔记:第一章 基础知识
  20. Redis Cluster 简单安装配置

热门文章

  1. select2插件+ajax笔记
  2. sql 单表/多表查询去除重复记录
  3. day22-python之模块
  4. selenium2 页面对象模型Page Object
  5. 【Jenkins】Jenkins的安装与配置
  6. day03_05 Python程序文件执行和与其他编程语言对比
  7. jquery源码区块
  8. jquery版列表切换功能
  9. ES6 异步编程之一:Generator
  10. Educational Codeforces Round 37 (Rated for Div. 2)