【问题标题】:How to authenticate to Bluemix with git?如何使用 git 对 Bluemix 进行身份验证?
【发布时间】:2016-01-12 02:09:26
【问题描述】:

所以我的 BlueMix 控制面板包含评论,

URL de Git: https://hub.jazz.net/git/dllamber/redjuego

但是,访问它似乎需要某种身份验证...

$ git clone  https://hub.jazz.net/git/dllamber/redjuego
Initialized empty Git repository in /home/dllamber/src/redjuego/.git/
error: The requested URL returned error: 401 Unauthorized while accessing https://hub.jazz.net/git/dllamber/redjuego/info/refs

fatal: HTTP request failed

为此,我如何将我的用户名和密码传递给 git?我应该使用什么...我的 IBM ID(一个无法再发送的电子邮件地址)和密码?还是与该 ID 关联的可交付电子邮件地址作为用户 ID?或者是其他东西?

【问题讨论】:

标签: git login ibm-cloud devops


【解决方案1】:

要访问私有仓库或需要身份验证的仓库,请使用以下格式:

https://your_alias:your_IBM_ID_password@hub.jazz.net/alias/project_name

有关此can be found here 的文档。

希望这会有所帮助!

【讨论】:

  • 澄清一下,your-alias 是 Jazz 用户名。
猜你喜欢
  • 2017-11-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2022-07-11
  • 2017-11-24
  • 2017-03-11
  • 1970-01-01
相关资源
最近更新 更多