Unlink of file failed

前端 未结 17 1260
时光取名叫无心
时光取名叫无心 2020-12-07 12:06

I\'m trying to do a git pull and I get the following error:

Unlink of file \'lib/xxx.jar\' failed. Should I try again? (y/n)

No

17条回答
  •  温柔的废话
    2020-12-07 12:21

    I have had this happen on Windows XP, both with the message stuck in a loop, and being able to be cleared by replying.

    The stuck-in-a-loop occurence was cleared by closing the Git-GUI. (I was running git merge -i in a bash shell.)

    The other occurences happened possibly due to the large number of files in my repository. It happened mainly with .cod files, which I later exclude from version control. (I do have a reason for intially tracking them.) I believe the cause might be related to the rate at which Git uses file handles.

    I wonder if the able-to-be-cleared-by-replying problem is Windows related, as two previous posters have mentioned Windows, and no one has said they have the problem with other operating systems.

提交回复
热议问题