1

This is a follow up question on "Forking a sub directory of a repository on GitHub and making it part of my own repo". What I want is to make a collection of sub directories from a few different upstreams.

I see the fist command is git clone in the answer above, which makes forking from several different upstreams difficult.

So, is it possible? You can answer hypothetically, or use the following concrete examples:

Collect in to my repo under the MyPythonCol folder, of

Basically I just want to track the remote repo, with no intention to patch upstream.

Thanks

xpt
  • 20,363
  • 37
  • 127
  • 216

1 Answers1

0

If you are using repo - The Multiple Git Repository Tool, you can added a Element linkfile in your manifest file to create symbol link for those sub directories you want to use. please read manifest-format.txt for more details.

gzh
  • 3,507
  • 2
  • 19
  • 23
  • Thanks but this is a follow up question on "Forking a sub directory of a repository on GitHub and making it part of my own repo" utilizing the `git subtree` command, and I prefer to do it manually, not using some 3rd party tools. – xpt Jul 20 '17 at 13:44