Import an existing git project into GitLab?

前端 未结 10 513
南旧
南旧 2020-12-07 06:50

I have an account of a Gitlab installation where I created the repository \"ffki-startseite\"

Now I want to clone the repository git://freifunk.in-kiel.de/ffki

10条回答
  •  南笙
    南笙 (楼主)
    2020-12-07 07:31

    Here are the steps provided by the Gitlab:

    cd existing_repo
    git remote rename origin old-origin
    git remote add origin https://gitlab.example.com/rmishra/demoapp.git
    git push -u origin --all
    git push -u origin --tags
    

提交回复
热议问题