I created a new repository and using git clone cloned it locally. Now I have another repository with fresh Content Management System code. I need to put the contents of that Content Management System to my newly created project, so I could start working on my new project, how can i do it ?
Asked
Active
Viewed 56 times
1 Answers
0
When you say extended modules, did you mean external submodules? That too might be the answer for your Content Management System repository. That would be an external submodule within your new repo.

HarryTuttle
- 180
- 1
- 8
-
i mean Silverstripe CMS with basic modules, for easy start from scratch – Edvard Apr 13 '15 at 18:45
-
I just need to know how i can add my cms from existing repository to newly created repository i will be working with, let's say i have CMSrepo repository, and i created myproject.com repository, i want to work with myproject.com but use my CMS in it, clone it to myproject.com repository or merge... – Edvard Apr 13 '15 at 18:48
-
i dont need to use CMS repo in future, i need content of this repo in my new project – Edvard Apr 13 '15 at 18:59
-
what you are describing suggests a use of _git external submodules_. This is how you can share and consume the code from one git repo within another. The only other alternative would be to produce some kind of package from your CMSrepo, and publish it to a local package manager and then pull that package in as part of building the code in your second repo. – HarryTuttle Apr 21 '15 at 21:43