I need to clone a repository of a particular branch from github.com that has multiple submodules. I am using git clone -b xxx --recurse-submodules http://github.com/reposname/repo.git But when i am using git push to our internal github server it is greyed out the submodules folders. I am using git push --prune https://internal.github.server/repo/repo.git After cloning i am able to see all the submodules files in local repo. But while pushing it is getting greyed out.
Am i following the correct procedure of pushing the cloned repo(with submodules) to internal github server ? Any suggestions will be helpful.