Hello I'm new to git & Atlassian and really want to have confluence & git under same account but I can't manage to clone my repository.
I've try to add an ssh keys, still not work
I've try to use the application password, still not work,
Frustrating because I see my repo an the clone button on bitbucket but no :(
The error that I've got :
Commande: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://<redacted>@bitbucket.org/<workspace>/<repository>.git
Sortie:
Erreur: remote: Invalid credentials
fatal: Authentication failed for 'https://bitbucket.org/<workspace>/<repository>.git/ '
Also got a question, I'm really not sure from where came this sufix (-admin) in my username? Not from me at least.
Thanks for any help.
Hello @Damien ,
and welcome to the Community!
It looks like you are using Sourcetree to clone the repository, so it may be an issue with your Sourcetree installation/configuration.
In order to check if Sourcetree is playing a role in this issue, I would suggest trying to manually clone the repository in a terminal session of your machine using the below command :
git clone https://{username}:{app_password}@bitbucket.org/{workspace}/{repository}.git
Where:
Could you try cloning with the instructions above and let us know how it goes? :)
Should you have any questions, feel free to ask.
PS: To protect your privacy, I've edited your original question to remove the repository and username as this is a public forum.
Thank you, @Damien !
Patrik S
Hello @Patrik S ,
Thanks for your answer, indeed I use sourcetree, though it will be simpler to use with bitbucket?
So I've install "git for windows", use your command, and I've manage to clone the repo.
Now I guess I have to find a way to add the repo on sourcetree, because really looking forward to use a gui git and not a terminal command.
Thank you also for the privacy cleaning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.