Reputation: 1992
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://[email protected]':
remote: Repositories on team accounts can only be accessed through a team member. Using a team password is not allowed.
Upvotes: 1
Views: 3466
Reputation: 5640
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 .
Upvotes: 2
Reputation: 1992
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://[email protected]/TEAM_ID/REPO_SLUG
fetch = +refs/heads/*:refs/remotes/origin/*
[remote "origin"]
url = https://[email protected]/TEAM_ID/REPO_SLUG
fetch = +refs/heads/*:refs/remotes/origin/*
Source: https://confluence.atlassian.com/bbkb/team-account-changes-454361799.html
Upvotes: 0