Reputation: 19969
Another simple question on how to handle in github following up on this: should I do a git fork then branch or just a git branch
I want to use an app that I have as a private repo as the starting point for a new app. It looks like I'd want to fork it and then clone it but when I fork it, I don't see a new repo. However, the fact that I can click fork makes me believe that this is possible? How would I achieve this or is there a better way for me to do this? I was thinking of just branching but I need to work with another developer and it would seem easier to just have these as separate repos.
thx
Upvotes: 1
Views: 574
Reputation: 2809
You can
For example, let say your current repository is [email protected]:me/current.git
and the new one is [email protected]:me/new.git
.
$ git clone [email protected]:me/current.git local-copy
$ cd local-copy
$ git remote add new-repo [email protected]:me/new.git
$ git push new-repo master
Upvotes: 3