0

ローカルの git ハブ フォルダーとホストされている app-harbor フォルダーから bin [または $git add を実行しようとしています。

 $ 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.
4

1 に答える 1

0

わたしにはできる :

$ 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
于 2013-07-29T05:27:34.187 に答える