I am starting work on an old code base located on a production server. I need to make a local duplicate, so I think the smart thing is this:
cd docroot git init git add . git commit -m "Files before I started work" git push origin
and then clone the repo into my dev block. However, some of the subfolders on the production server are separate git repositories for the various plugins that have been developed. Will this be the mess of the main repo that I create? I would like them to be as submodules, but how can I figure out the init process without breaking production files?
source share