How Do I Move a Git Repo from Beanstalk to Github?

前端 未结 2 557
日久生厌
日久生厌 2021-02-15 20:01

I have my code repo in Beanstalk. How do I move the code from Beanstalk to Github?

2条回答
  •  一个人的身影
    2021-02-15 20:26

    The recommended way to do this is to:

    git clone --bare url/for/beanstalk/repo.git .
    git push --mirror git@github.com:user/repo.git
    

    Also see here: https://help.github.com/articles/importing-an-external-git-repo

提交回复
热议问题