Git error - unable to unlink old 'some/file/name' (Bad file descriptor)
问题 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? 回答1: Are you using any other tools while using TortoiseGit? For instance, this project mentions an interaction with Visual Studio: If you see errors about being unable to unlink old files when running git commands on Windows, it's quite likely that you have the chrome solution open in Visual Studio and it's updating