Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I do a git clone of my files in Bitbucket

rhouse2015 June 13, 2024

I have not used Bitbucket for some years. I am now trying to fetch source code stored in Bitbucket via git clone and my credentiials are not accepted.

At https://bitbucket.org/workspace-id/repo/src/master/ I can see all the files I would like to download, but this command

git clone https://bitbucket.org/workspace-id/repo.git

results in "Authentication failed" when I use the user name and password that I always used in the past. Any help would be greatly appreciated. I really need to access these files.

[Edit: repo URL sanitized for privacy]

1 answer

0 votes
Robert Wen_Cprime_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 13, 2024

Hi @rhouse2015 !

The use of the Atlassian account password for cloning, and interacting with a local repo over https was deprecated as shown in this Community question.

https://community.atlassian.com/t5/Bitbucket-questions/Authentication-Failed-cant-access-own-bitbucket-repo-due-to-quot/qaq-p/2427770

You can set up an app password and connect over https with that and your Bitbucket username.  https://community.atlassian.com/t5/Bitbucket-questions/Authentication-Failed-cant-access-own-bitbucket-repo-due-to-quot/qaq-p/2427770

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events