git遇到过的错误
来源:互联网 发布:车行168 php笔试题 编辑:程序博客网 时间:2024/05/14 20:23
用git也是走了很多弯路。
比如:
这种错误
1.
$ git commit -afatal: Unable to create 'E:/****/.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 processesare terminated then try again. If it still fails, a git processmay have crashed in this repository earlier:remove the file manually to continue.
解决方法:
使用了$ rm -f ./.git/index.lock
然后我估计是点击了编辑,就出现了这个鬼
<****.github.io/.git/COMMIT_EDITMSG[+][RO] [unix] (18:21 22/07/2016)1,0-1 All
输入:wq!
(千万要记住!要加上去,万恶的电脑,少个符号都识别不了,这就是为什么我喜欢人脑)
然后就正常了
还有这种错误:
2.
出现这个问题是因为,没有在github账号添加SSH key,
为了方便,我用了HTTPS协议
0 0
- git遇到过的错误
- git遇到过的错误
- 【Git】我遇到过的错误整理(不定期更新)
- git遇到的错误
- Struts2遇到过的错误
- 遇到过的错误汇总
- 使用git遇到的错误
- Nhibernate 开发中遇到过的错误
- 编程中遇到过的错误记录
- react-native遇到过的错误
- 我遇到过的错误,异常
- git遇到的错误及解决
- Git中遇到的SSH错误
- 你遇到过的最奇葩的错误是什么?
- 谁遇到过这种错误!!!
- Fastreport4.8安装,遇到过的错误及处理方法
- PHP常见的错误,你遇到过几种
- 很多人遇到过3194错误的解决方法,100%有效!
- 基于队列的Card Stacking(poj)
- Codeforces 691 E Xor-sequences 矩阵快速幂
- c++教程(五:Operators)
- List Leaves
- Java 求前n项和
- git遇到过的错误
- 卡特兰数
- HTTP协议
- Java基本语法-----java数组(一维数组二维数组)
- 百练 拦截导弹
- Git学习(1)
- 利用python如何刷访问量
- 数据交换工具DataX使用
- WEUI picker复杂逻辑使用经验