Search code examples
gitforkmultiple-projects

How do I fork multiple projects into one repository with git?


I have a 3 projects I'd like to fork. They're all related to each other - changing one will likely require a change to another. Because they're all related, I'd like to create 1 repository for the forks, while maintaining the ability to pull down updates from each original.

How would I setup my git repository?

These are preliminary thoughts so I wouldn't be surprised if this is crazy/stupid. Is it?


Solution

  • You can always use "git remote add <name> <url>" to add more repositories as source.