I am not able to switch from my local branch to master branch after doing the below changes.
1. I wanted to replace folder in my repository with a remote sub module. For this purpose i initially deleted the folder content then committed those changes to a newly created local branch. Then I linked with a sub module which is pointing a specific commit. After that I committed the sub module linking changes to my branch. Now I am trying to switch from current branch to another branch but it is giving me error. The error messages shows
error: The following untracked working tree files would be overwritten by checkout:
"listed the deleted files in initial step"
Please move or remove them before you switch branches.Aborting
Any solution to this issue.?