Download a GitLab private repository

前端 未结 5 861
北恋
北恋 2020-12-14 02:50

I want to use curl to download my private repo in GitLab. I know I can use the Gitlab API, but for some reason, It doesn\'t work.

Is this possible? When

5条回答
  •  情深已故
    2020-12-14 03:28

    If you need to do this in a CI run and your private repo is on the same server, you should be able to use git submodules to clone other repos at the same time. Using the ${CI_JOB_TOKEN} is another option since GitLab 8.12.

提交回复
热议问题