git clone not working through vs code

Akhil Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2023

git clone https://{username}@bitbucket.org/{workspace-id}/{repo}.git 

not working in vs code , although i am trying to correctly enter the password

 

> git clone https://{username}@bitbucket.org/{workspace-id}/{repo}.git c:\1Data\Akhil\workspace-id\repo --progress
fatal: Invalid credentials
remote: Invalid credentials
fatal: Authentication failed for 'https://{username}@bitbucket.org/{workspace-id}/{repo}.git'

 

Edit: username, workspace-id, and repo named edited to protect privacy

2 answers

0 votes
Akhil Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 6, 2023

I was able to clone it later. I needed to create app password in bitbucket. app password was required in vscode to clone repo

bagarwal July 6, 2023

Exactly what I was trying to say. Cool...

0 votes
bagarwal July 4, 2023

If its private repo then you need to set the user & credentials first in VS. Please google it how to set the same.

Suggest an answer

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

Atlassian Community Events