【问题标题】:Bitbucket Pull Not working suddenlyBitbucket Pull 突然不工作了
【发布时间】:2017-11-07 07:37:20
【问题描述】:

今天尝试提取回购时,它显示以下错误,但过去几个月它正在工作。已尝试使用 Bitbucket 网站,但没有相关信息。有没有人面临同样的情况? Atalassian 是否为此提供了任何解决方法?

 sudo git pull

Password for 'https://stutzen@bitbucket.org': 
remote: Repositories on team accounts can only be accessed through a team member. Using a team password is not allowed.

【问题讨论】:

  • 您使用的用户名 (stutzen) 似乎不再是拥有该存储库的团队的成员。
  • 权限可用。
  • Bitbucket 似乎发生了变化

标签: git bitbucket git-pull


【解决方案1】:

这是由于 Bitbucket 的变化:

https://blog.bitbucket.org/2014/01/14/important-changes-are-coming-to-teams/

显然,日期一直在推迟,但这已经有一段时间了。

https://confluence.atlassian.com/bbkb/team-account-changes-454361799.html 有更多详细信息。

【讨论】:

    【解决方案2】:

    在 .git/config 文件的“url =”行中,您需要编辑以下示例中的“用户名”部分,使其成为新的个人用户 ID。

    [remote "origin"]
        url = https://USERNAME@bitbucket.org/TEAM_ID/REPO_SLUG
        fetch = +refs/heads/*:refs/remotes/origin/*
    [remote "origin"]
        url = https://USERNAME@bitbucket.org/TEAM_ID/REPO_SLUG
        fetch = +refs/heads/*:refs/remotes/origin/*
    

    来源:https://confluence.atlassian.com/bbkb/team-account-changes-454361799.html

    【讨论】:

      猜你喜欢
      • 2014-08-05
      • 2018-01-19
      • 1970-01-01
      • 1970-01-01
      • 2019-11-09
      • 2019-03-16
      • 2014-04-16
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多