When trying to switch/checkout (in TortoiseGit) to another branch, I get the following error:
error: unable to unlink old 'foo/bar.cfc' (Bad file descriptor)
What does this mean?
When trying to switch/checkout (in TortoiseGit) to another branch, I get the following error:
error: unable to unlink old 'foo/bar.cfc' (Bad file descriptor)
What does this mean?
I got same error with github desktop app when i try to pull. I solved it by closing visual studio and running github desktop app in admin mode.
I ran into this problem-Eclipse was locking the file even though it wasn't open in the editor. Once I closed eclipse I could checkout fine.
If your problem is based on eclipse locking file, you can start your eclipse with
-Dosgi.locking=none
. I ran into this problem with eclipse Luna 4.4.0The file is locked by another program and cannot be overwritten. See what application has the file locked, close that application, and try again.
Are you using any other tools while using TortoiseGit?
For instance, this project mentions an interaction with Visual Studio:
In other word, does the problem persists if you close as many currently running applications as you can?
Would TortoiseGit allow you to checkout another branch then?