How do I create a new GitHub repo from a branch in an existing repo?

I have master and new-project branches. And now I’d like to create a brand new repo with its master based on the new-project branch.

Background: I have one repository which contains three independent applications. It didn’t start out this way. There was originally just one app in the repo. Over time, however, business needs have changed. One app became two (a legacy version and a re-write.) A web service was added. Separate branches were used to contain the three projects. However, they don’t share any code. And so it’d be simpler to have them split out into their own repos.

6 Answers
6

Leave a Comment