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

Git Clone HTTPS snippets fails but SSH works

Alvaro Pareja-Lecaros August 28, 2018

✔ Cloning a repository via HTTPS & SSH

HTTPS
git clone https://username:password@bitbucket.org/owner/repoName.git

SSH
git clone git@bitbucket.org/owner/repoName.git

✔ Cloning a snippet via SSH

SSH
git clone git@bitbucket.org:snippets/owner/snippetID/snippetName.git

✔ Cloning a repository via oauth HTTPS 

HTTPS
git clone https://x-token-auth:token@bitbucket.org/owner/repoName.git

But cloning a snippet via HTTPS, with either my own username/password or oauth credentials, does not work.

✖ Cloning a snippet via HTTPS
    username || x-token-auth + inlining password/token || inputting password/token

HTTPS
git clone https://x-token-auth:token@bitbucket.org/snippets/owner/snippetID/snippetName.git
Response
remote: Repository not found

 
All urls are copied from the `clone` button for both HTTPS and SSH


Why is it not working?

1 answer

0 votes
hoeflho1 November 14, 2018

I am having the exact same problem. And as SSH is blocked for me, I can't clone the snippet at all.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events