When I'm trying to revert some of my local changes it says "error: unable to unlink old 'filename': Resource busy"
I already tried to stash the changes, use git reset --hard
but nothing works.
When I'm trying to revert some of my local changes it says "error: unable to unlink old 'filename': Resource busy"
I already tried to stash the changes, use git reset --hard
but nothing works.
You just have to run the Editor (Ex: VS Code) with Administrator privilege and try again, it will work, I had the same issue and this solution fixes it.