Why is this statement "Sorry, a file exists where you’re trying to create a subdirectory. Choose a new path and try again" arising when I try to make commits in my repo, does anyone facing the same problem? How can I resolve this error?
I saw this error when trying to create a folder with the same name of a file existing on the branch.
So, look for a file and rename it or simply change the name of the folder you' re trying to create.
Deleting a file is also a simple process.