2013-07-29 6 views
0

bin을 삭제하거나 [$ git add .] 지역 자식 허브 폴더에서뿐만 아니라 호스팅 앱 항구 폴더하지만 난 오류 다음 폴더와 점점을 삭제할 수 없습니다입니다appharbor에서 파일을 삭제/추가하는 중 오류가 발생했습니다. 'f : /git/xyz/WorkerProcess/.git/index.lock'을 만들 수 없습니다 : 파일이 있습니다. "

$ git rm -r bin [ $ git rm -f bin] 
fatal: Unable to create 'f:/git/xyz/WorkerProcess/.git/index.lock': File 
exists. 

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. 

답변

0

그것은 나를 위해 작동 :

$ git clean -f .git/index.lock 
Removing .git/index.lock 
[email protected] /f/git/xyz/WorkerProcess (master) 
$ git init 
Reinitialized existing Git repository in f:/git/xyz/WorkerProcess/.git/ 
[email protected] /f/git/xyz/WorkerProcess (master) 
$ git add . 
[email protected] /f/git/xyz/WorkerProcess (master) 
$ git rm bin 
fatal: not removing 'bin' recursively without -r 
[email protected] /f/git/xyz/WorkerProcess (master) 
$ git rm -r -f bin