I developed a web project and tracked it with git. Later I had to use that project in another big project which is again tracked by git. Earlier I didn't have knowledge about git sub module. So I straight away copied the small project folder into the big project folder.
Then when i pushed the big project to the remote repository, I noticed that the remote repo is linking the small project to its respective remote repo. If I change any thing in the small project within the big project, it is not getting tracked. I thought the problem is the .git folder in the small project, so I deleted that folder. Now I can't even push to the small project's remote repo. Is there any solution for this? Can I undo everything I have done so that I can make the small project to be the git sub module of the big project?