Import an existing git project into GitLab?

前端 未结 10 510
南旧
南旧 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:26

    rake gitlab:import:repos might be a more suitable method for mass importing:

    • copy the bare repository under repos_path (/home/git/repositories/group/repo.git). Directory name must end in .git and be under a group or user namespace.
    • run bundle exec rake gitlab:import:repos

    The owner will the first admin, and a group will get created if not already existent.

    See also: How to import an existing bare git repository into Gitlab?

提交回复
热议问题