Cannot see https link on empty repository if a ssh key has been added to your account.

Issue #15357 resolved
Ricq
created an issue

If there is code in your repository you can see this nice select box that allows you see both the https and ssh link for your repository.

Screenshot_20171212_123015.png

If your repository is empty this select box is missing, but you can find the link to the repository below, here:

Screenshot_20171212_123604.png

The problem with this however is that you cannot choose to view the https link of the repository if you wish to use it instead of ssh. The site assumes that because I have ssh keys added to my account I want to always use ssh, but this is not the case.

There are currently two workarounds I know of to get around this issue:

  1. Remove all ssh from your account. It will display the https link instead.

  2. Add a file to the repository using the site, which gives back your handy select box.

On a side note I vaguely remember this select box being there in the old Bitbucket layout. I would like to get it back.