当我尝试将我的项目树移动到git回购时,我仍然得到这个错误信息,
我检查了我的目录与这个项目的权限,这些都设置在777权限,.终端中的目录与my_project我设置:
git init然后如果我尝试
git add。要么
git commit -m“第一次上传”
所以我会得到的错误
fatal: Unable to create '/path/my_proj/.git/index.lock': File exists.If no other git process is currently running, this probably means agit process crashed in this repository earlier. Make sure no other gitprocess is running and remove the file manually to continue.我也尝试创建一个新的回购,并在那里提交,但不幸的是仍然是相同的错误信息...我已经有点绝望,我试图找到整个下午的解决方案,但仍然没有成功...
请问谁能帮助我,问题的原因是什么?
百万倍感谢!
相似问题