0

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.

EylM
  • 5,967
  • 2
  • 16
  • 28

2 Answers2

0

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.

0

I fixed this by restarting my computer.

ffgpga08
  • 154
  • 2
  • 16