Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Import into github from gitorious?

Has anyone tried or figured out how to import a gitorious repo into github? I already use github and wanted to see if there was a way to pull from a gitorious repo that I wanted to follow into github.

like image 573
Jauder Ho Avatar asked Jul 01 '09 02:07

Jauder Ho


People also ask

How do I import a git repository into another Repo?

Import into a new repo 1 Select Repos, Files. 2 From the repo drop-down, select Import repository. 3 If the source repo is publicly available, just enter the clone URL of the source repository and a name for your new Git repository. ...

How do I import a git repository in TFS?

To import a repository using TFS 2017 RTM or earlier, see Manually import a repo. Select Repos, Files. From the repo drop-down, select Import repository. If the source repo is publicly available, just enter the clone URL of the source repository and a name for your new Git repository.

How do I import a git repository with SSH authentication?

SSH authentication is not supported, but you can manually import a repository that uses SSH authentication by following the steps in Manually import a repo. From the repo drop-down, select Import repository. If the source repo is publicly available, just enter the clone URL of the source repository and a name for your new Git repository.

How do I import a private Git repository in Azure DevOps?

An organization in Azure DevOps. If you don't have one, you can sign up for one for free. Each organization includes free, unlimited private Git repositories. To use the Import repository feature in TFS, you must have TFS 2017 Update 1 or higher. To import a repository using TFS 2017 RTM or earlier, see Manually import a repo.


2 Answers

How would this be different from the normal method of creating a repository on Github?

  1. Clone the repository from gitorious
  2. Create a new repository on github
  3. Push the repository up to github

Github doesn't care where the repository came from in the first place, it just accepts whatever you push up to it.

like image 53
Greg Hewgill Avatar answered Sep 30 '22 15:09

Greg Hewgill


Immediately after you create a new repository on GitHub, the website gives you 3 elegant personalized instruction sets. The 3 different options are:

  1. Start working on a fresh new project
  2. Push an existing Git repository - this is the one you want
  3. Push an existing SVN repository

If my username was user1 and the new repo was called project1, here is what it would say:

Existing Git Repo?

cd existing_git_repo
git remote add origin [email protected]:user1/project1.git
git push -u origin master
like image 30
Aleksandr Levchuk Avatar answered Sep 30 '22 14:09

Aleksandr Levchuk