2017-07-19 71 views

回答

1

更新:現在可以將gitlab.com存儲庫(或來自公共互聯網上任何其他GitLab服務器的存儲庫)添加到Bluemix DevOps Toolchains。 Bluemix Documentation提供更多詳細信息。

原件(過時)答案: 它目前還無法對gitlab.com或其他公共GitLab服務器存儲庫添加到IBM Bluemix的DevOps工具鏈。但是,這種能力正在積極發展之中。

在該功能可用之前,您可以通過將您的存儲庫複製到其中一個受支持的Git提供程序來繼續。有關於複製存儲庫的說明,請致電https://help.github.com/articles/duplicating-a-repository/。總之:

git clone --bare https://github.com/exampleuser/old-repository.git 
cd old-repository.git 
git push --mirror https://github.com/exampleuser/new-repository.git 

該示例使用github.com,但這種方法將適用於任何git存儲庫。