This question is NOT duplicate , so plz dont flag is duplicate, as my scenario is different
I have my git repo in folder /data/wwwdata, wwwdata is the root of git, it has the repository in it. when i try to to get git status, i get
modified: wwwdata (modified content)
as it is the root folder of my git repo, if i run command git rm -r --cached wwwdata , will it remove everything from git repository as well? (recursively all files in it) but will not remove local data? how can i only remove this folder from git repo?
i am also getting error
"Please check : No submodule mapping found in .gitmodules for path 'wwwdata'"
is it due to above problem?