There is a remote repository (not hosted on github) that I would like to clone to github. Is it possible for me to clone it to github directly without making a clone of it on my computer. If yes, How can I do this?
Asked
Active
Viewed 151 times
1 Answers
1
The only way to get an existing repository onto GitHub is to either:
- Fork a repository that is already on GitHub, or
- Create a new repository on GitHub and
git push
your repository to it (instructions from GitHub here).

larsks
- 277,717
- 41
- 399
- 399
-
3you might want to make it explicitly clear that what OP wants (create non-fork repo with contents without pushing -- aka "import external repo") is *not possible* on github – Nevik Rehnel Feb 09 '14 at 17:29
-
-
I also agree with @NevikRehnel . Your answer include everything but what is asked. Anyway, I'll mark his comment as accepted comment. :) – Feb 10 '14 at 13:21