Import into github from gitorious?

后端 未结 4 436
旧时难觅i
旧时难觅i 2021-02-04 12:15

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

4条回答
  •  情书的邮戳
    2021-02-04 12:24

    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 git@github.com:user1/project1.git
    git push -u origin master
    

提交回复
热议问题