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).
Frage
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?
Lösung
The only way to get an existing repository onto GitHub is to either:
git push
your repository to it (instructions from GitHub here).