Description: I have a git repo with multiple branches, code is MATLAB files. While I'm trying to switch from branch A to another branch B after adding codes in A by typing git checkout B, I get this message in Git Bash: Deletion of directory '+pkgFldr' failed. Should I try again (y/n). I chose "y", it failed again and same message persists. I chose "n", then the branch switch was only half-way done, as most of the files weren't switched to branch B.
Thinking: The folder +pkgFldr has a plus sign at the beginning because this is how MATLAB marks a package folder. Could this plus sign be the reason why the branch switch wasn't successful? How can I resolve this, thanks.