GitHub import

GitHub import

在 GitLab 9.1 中引入 .

请记住,语法非常具体. 删除参数块内以及方括号之前/之后的所有空格. 此外,某些外壳程序(例如 )可以分别解释开/关括号( [] ). 您可能需要转义括号或使用双引号.

要从可用的 GitHub 项目列表中导入项目,请执行以下操作:

要导入特定的 GitHub 项目(在此处名为foo/github_repo ):

  1. sudo gitlab-rake "import:github[access_token,root,foo/bar,foo/github_repo]"
  2. # Installations from source