首页 > 学院 > 开发设计 > 正文

记录一下使用git遇到的一个小问题

2019-11-09 17:25:36
字体:
来源:转载
供稿:网友

今天我在敲完代码快下班时准备提交代码 当执行git add 操作的时候,出现 如下 错误: If no other git PRocess is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue. 网上一阵搜索找到解决方法: 在项目的目录下鼠标右键找到Git Bash ,键入 rm -f ./.git/index.lock 再次提交就OK了


发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表