如何将子文件夹添加到具有不同repo的repo

时间:2017-06-13 08:50:22

标签: git github

我有一个目录,我一直在使用Git跟踪它的变化。在那个文件夹中,我从Github下载了一个工具,它有原始的Github信息。我无法将其文件添加到我的repo,即父目录。

树形结构:

DirA (root folder -> git remote bitbucket repo)
 \SubDirA -> included in bitbucket repo
 \SubDirB -> included in bitbucket repo
 \SubDirC -> downloaded from Github, has its own repo info, NOT added to bitbucket repo

我想将SubDirC合并到我的bitbucket repo中,并在其中删除可能导致提交问题的Github引用。我该怎么做才能做到这一点?

0 个答案:

没有答案
相关问题