简体   繁体   English

Git克隆存储库到现有的

[英]Git cloning repository to existing one

I created a new repository and using git clone cloned it locally. 我创建了一个新的存储库,并使用git clone在本地将其克隆。 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 ? 我需要将该内容管理系统的内容放到新创建的项目中,这样我才能开始从事新项目,我该怎么做?

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. 那将是新仓库中的一个外部子模块

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM