Error in deleting/addind file from appharbor using git “Unable to create 'f:/git/xyz/WorkerProcess/.git/index.lock': File exists”

白昼怎懂夜的黑 提交于 2019-12-02 10:20:10

It works for me :

$ git clean -f  .git/index.lock
Removing .git/index.lock
comp1@SHAILESH01 /f/git/xyz/WorkerProcess (master)
$ git init
Reinitialized existing Git repository in f:/git/xyz/WorkerProcess/.git/
comp1@SHAILESH01 /f/git/xyz/WorkerProcess (master)
$ git add .
comp1@SHAILESH01 /f/git/xyz/WorkerProcess (master)
$ git rm  bin
fatal: not removing 'bin' recursively without -r
comp1@SHAILESH01 /f/git/xyz/WorkerProcess (master)
$ git rm -r -f bin
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!