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

Instructions for repository cloning over https need updating.

fjeanson March 21, 2023

Instructions to clone a repository that required authentication isn't accurate.

Example:

git clone https://username@bitbucket.org/teamsinspace/documentation-tests.git

 

Issue:

This does not allow users to authenticate to pull or push to the repository.

 

The instructions on the Bitbucket help pages should be updated.

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 22, 2023

Hi @fjeanson and welcome to the community!

I'm not sure what exactly is inaccurate about the clone command you posted here. Could you please provide more details about the steps you follow and the output you get from each command?

If you clone a public repo like the one in your post, you will not get asked for a password. Pulling from a public repo doesn't require authentication either.

If you try to push to this repo:

  • If there is no credential manager set for Git on your machine, or if there is one set but with no saved credentials for bitbucket.org, you should get prompted to enter a password. Please keep in mind that we have deprecated the use of account passwords for Git over HTTPS, so you will need to use an app password instead.
  • If a credential manager is set for Git on your machine with saved credentials for bitbucket.org, then the saved app password will be used.

For private repositories, the following applies for cloning, pulling, and pushing:

If there is no credential manager set for Git on your machine, or if there is one set but with no saved credentials for bitbucket.org, you should get prompted to enter a password. Please keep in mind that we have deprecated the use of account password for Git over HTTPS, so you will need to use an app password instead.

If a credential manager is set for Git on your machine with saved credentials for bitbucket.org, then the saved app password will be used.

Kind regards,
Theodora

0 votes
Jens Schumacher - Released_so
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 21, 2023

Hi @fjeanson 

Probably best to send that feedback straight to the team. 

Go to bitbucket.org and click the question mark in the top right corner. In the drop down menu you will find a "Feedback" button. 

Submitting the feedback there will have a higher likelihood that the team reads your comment. 

Cheers,
Jens

Released.so - Release notes powered by Jira

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events