Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17110

Git Clone HTTPS snippets fails but SSH works

    XMLWordPrintable

Details

    Description

      Originally created by Alvaro Pareja-Lecaros in this question.

      ✔ 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

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              db846e5e001c javierorphidia
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: