You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When cloning via Desktop the remote origin is set to the https URL. Since I always use SSH when working on the terminal, I have to change the remote which is really annoying. It would be nice to have a setting where the user can decide if new repos should be cloned via https or ssh.
Version
GitHub Desktop version: 0.6.1 OS version: macOS Sierra 10.12.5 (16F73)
Reacted by Ben Smith, Marc Alexandre, Kristi, NovapaX, Ian Forsey, Gabriel Krell, Thomas L., Chris Foresman, Pascal Luginbühl, Maziyar Panahi and 74 more
I'm going to add the future-proposal label to this issue and close it out, so that we don't get overwhelmed with our backlog! We'll revisit these as part of our next planning session.
Please let me leave a strong +1 on this feature request. I got frustrated with this a lot recently since we're doing like a dozen new projects at the office. Even after manually selecting the ssh ref and pasting that into the clone repository dialog, Github Desktop rewrites them to use the HTTPS URLs.
Due to security and regulatory reasons, we need to sign every commit, and this is all handled perfectly via terminal and VS Code because I have everything configured in my git config. But trying to do it via HTTPS is a major pain.
Reacted by Pascal Luginbühl, Kristi, Jim Preston, Uwe Kaiser, Raffaele Zippo, Pete Krull, Josh Tumath, Maurizio Di Ianni, Martijn Imhoff, Anand Sundaram and 34 more
Reacted by Maurizio Di Ianni, Daniel Bankhead, Patrycja Kazala, PEDRO HUDSON, ViralAnomaly, Shaun Grady, Emanuel Kuhn, Ville Lahdenvuo-Malta, Peter, Julian Dunskus and 13 more
Reacted by Jay J Das
Reacted by Paul-Sebastian Manole, ggulyastm, Brandon Bennett, Tim Moser and Jay J Das
It was easier to just stop using GitHub Desktop altogether, frankly.
Reacted by xgdgsc, aTable, Patrycja Kazala, PEDRO HUDSON, Tychus, Lars Hansson, Nikolay Rumenov Mihaylov - NIMI, Manolin, Raffaele Zippo, Guy and 12 more
Reacted by deus00, Frank Fang, Peter, B4rtware, Julian Dunskus, David Rochín, Brandon Bennett and Elwa
Hi folks - we updated the open issue for this (#2579) to link back to this issue. Since it's already open and provides a bit more info on the overall surface area of the issues, I'm going to remove future proposal here. It's definitely something we're interested in, and we're weighing it against our other priorities to determine when we're able to work on it. Thanks for all the feedback!
Like @billygriffin said, since this has been closed and a lot more has been discussed over at the newer #2579, #2579 is where you should be heading at right now.
We are not able to clone using SSH. It would be better if you could please add this feature or can let us know the steps to be used for cloning via SSH URL
I also need this for Desktop and CLI interoperability. CLI repositories are cloned with ssh and they don't work in GitHub Desktop. GitHub Desktop repositories are cloned with https and they don't work on the CLI.
I was very surprised to learn this feature is not supported, especially considering you recently started working on advanced features like cherry picking. Would love to see SSH cloning!
It's a bit confusing following the status of all these issues. It seems #2579 was closed, however I just installed Github Desktop and it by default clones my repos with the HTTPS url, instead of using SSH. And I can't find any setting to make it use SSH by default instead of HTTPS.
Can someone comment on the current status of this feature?
@cossio it isn't possible to set the default option to SSH in GitHub Desktop. The work that was done improved overall SSH support, but you still need to clone a repository via SSH by using the URL option in the clone dialog. I hope that helps.
Would be great to have this, currently I have to clone by URL and use the SSH URL, but it would be easier to search for the repo inside GitHub Desktop itself.
Activity
joshaber commentedon Jun 29, 2017
Thanks for the suggestion!
This idea is interesting for the future, but this is beyond the scope of our current roadmap.
You can setup an
insteadOfconfig to change URLs universally if you like: https://stackoverflow.com/questions/1722807/git-convert-git-urls-to-http-urlsI'm going to add the
future-proposallabel to this issue and close it out, so that we don't get overwhelmed with our backlog! We'll revisit these as part of our next planning session.foresmac commentedon Dec 13, 2017
Please let me leave a strong +1 on this feature request. I got frustrated with this a lot recently since we're doing like a dozen new projects at the office. Even after manually selecting the ssh ref and pasting that into the clone repository dialog, Github Desktop rewrites them to use the HTTPS URLs.
Due to security and regulatory reasons, we need to sign every commit, and this is all handled perfectly via terminal and VS Code because I have everything configured in my git config. But trying to do it via HTTPS is a major pain.
mauriziod commentedon Apr 20, 2018
Love to see this request moving forward, I feel the pain changing all cloned repos from HTTPS.
cmeyertons commentedon Jun 13, 2018
Expanding on @joshaber 's comment, the workaround can be performed with
git config --global url."[email protected]:".insteadOf https://github.com/foresmac commentedon Jun 19, 2018
It was easier to just stop using GitHub Desktop altogether, frankly.
FrankFang commentedon Jan 23, 2019
It's 2019 now, We still have no button for ssh?
billygriffin commentedon Feb 11, 2019
Hi folks - we updated the open issue for this (#2579) to link back to this issue. Since it's already open and provides a bit more info on the overall surface area of the issues, I'm going to remove future proposal here. It's definitely something we're interested in, and we're weighing it against our other priorities to determine when we're able to work on it. Thanks for all the feedback!
WaleedAshraf commentedon Jul 19, 2019
Any update on this?
irrg commentedon Aug 26, 2019
Any update on this?
brokenthorn commentedon Oct 28, 2019
Like @billygriffin said, since this has been closed and a lot more has been discussed over at the newer #2579, #2579 is where you should be heading at right now.
oskarlakner commentedon May 24, 2020
Sorry guys but it's ridiculous that in 2020 it's still impossible to clone via SSH... 🤦♂️
abdulrauf11 commentedon Aug 7, 2020
Wow! is there still no solution for this?
WaleedAshraf commentedon Aug 20, 2020
I run this script in my main folder, where I have all the repo clones from one org. It'll update all remote URL to SSH.
rakesh-ounce commentedon Aug 20, 2020
Hi Team,
We are not able to clone using SSH. It would be better if you could please add this feature or can let us know the steps to be used for cloning via SSH URL
fatbasstard commentedon Mar 4, 2021
Still not possible to do the clone command with ssh...
Isn't it an option to make it an application setting?
Mainly talking about this option, who not make the clone method a simple option?
kennu commentedon Mar 11, 2021
I also need this for Desktop and CLI interoperability. CLI repositories are cloned with ssh and they don't work in GitHub Desktop. GitHub Desktop repositories are cloned with https and they don't work on the CLI.
alexanderilyin commentedon Nov 10, 2021
@shiftkey what's the timeline for implementation?
andreaswilli commentedon Jan 16, 2022
I was very surprised to learn this feature is not supported, especially considering you recently started working on advanced features like cherry picking. Would love to see SSH cloning!
jseaber commentedon Feb 27, 2022
SSH should be the default for Desktop, especially as HTTPS is no longer supported from the command line.
cossio commentedon Aug 29, 2022
It's a bit confusing following the status of all these issues. It seems #2579 was closed, however I just installed Github Desktop and it by default clones my repos with the HTTPS url, instead of using SSH. And I can't find any setting to make it use SSH by default instead of HTTPS.
Can someone comment on the current status of this feature?
steveward commentedon Aug 30, 2022
@cossio it isn't possible to set the default option to SSH in GitHub Desktop. The work that was done improved overall SSH support, but you still need to clone a repository via SSH by using the
URLoption in the clone dialog. I hope that helps.cossio commentedon Aug 30, 2022
@steveward Thank you, I understand.
Are there plans to allow setting SSH as default?
marcospgp commentedon Mar 27, 2023
Would be great to have this, currently I have to clone by URL and use the SSH URL, but it would be easier to search for the repo inside GitHub Desktop itself.
badigit commentedon Feb 25, 2024
need this feature
amrelsadany commentedon Jun 17, 2025
it's 2025 and still not implemented :/
is it hard for you guys to implement such a feature !!
abhishek-ew commentedon Aug 12, 2025
nvm back to uninstalling :3