user2286243
user2286243

Reputation:

Clone a remote repository to github without downloading on your PC

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?

Upvotes: 0

Views: 183

Answers (1)

larsks
larsks

Reputation: 312370

The only way to get an existing repository onto GitHub is to either:

  1. Fork a repository that is already on GitHub, or
  2. Create a new repository on GitHub and git push your repository to it (instructions from GitHub here).

Upvotes: 1

Related Questions