Unlink of file 'debug.log' failed. Should I Try Again?

Asked

Viewed 38 times

2

I did several git stash in my branch normally. But now when I pass the command: git stash save "teste"

he answers:

Saved Working directory and index state On dev: testing Unlink of file 'debug.log' failed.

Should I Try Again? (y/n) y

Unlink of file 'debug.log' failed.

Should I Try Again? (y/n) y

Unlink of file 'debug.log' failed.

Should I Try Again? (y/n) y

Unlink of file 'debug.log' failed.

Should I Try Again? (y/n) y

Anyway I can’t but use the stash, if I give no (y/n)n it doesn’t work at all.

  • Have you checked the file folder permission? You are using linux?

  • I’m using windows 10

1 answer

0

It may be that some other program is using the file, then it is not possible to move this file inside or outside the working directory.

Try to close any program or process that might be using the file. Open the windows task manager (CTRL+SHIFT+ESC) and terminate any process that might be using the file, eclipse type, etc..

You can use the program Processexplorer to find which process is using the file.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.