Bitbucket Pull Not working suddenly

心不动则不痛 提交于 2019-12-12 04:31:29

问题


When tried to pull the repo today, it say below error, but last several months it was working. Have tried with Bitbucket website, but no info about it. Is anyone in facing the same? Is Atalassian provided any work around for it?

 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.

回答1:


This is due to changes in Bitbucket:

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

Clearly, the date kept getting pushed back, but this has been coming for a while.

There's a bit more detail at https://confluence.atlassian.com/bbkb/team-account-changes-454361799.html .




回答2:


In the "url = " line of the .git/config file, you'll want to edit the 'USERNAME' portion as in the example below to be your new individual user 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/*

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



来源:https://stackoverflow.com/questions/44387418/bitbucket-pull-not-working-suddenly

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!