Search code examples
gitsshsmartgit

How to clone a simple HTTPS repository in SmartGit?


I want to clone a repository in SmartGit and have troubles with cloning. The current version of SmartGit says that I need some link in form 'ssh://user@server.port/repository-path or svn://server:post/repository-path'.

I've heard that I need some SSH key, but I probably don't have it at all, as the repository which I have is just my public GitHub repository. It very likely doesn't have SSH or SVN keys, it has only HTTPS URL which doesn't seem to be acceptable in SmartGit.

When I copy-paste the URL to the 'Clone' window, it says

'Could not connect to the repository 'https://github.com/Clarity97'.

Please check the repository URL.

repository 'https://github.com/Clarity97/' not found'

So how to clone my simple repository to my SmartGit?


Solution

  • Go to any of your actual repositories (for instance https://github.com/Clarity97/SymfonyBlog), and you will see the "clone or download" button, which will give you the proper URL to use.

    clone or download

    Make sure to follow the GitHub SSH guide in order to generate and register a public SSH key to your GitHub profile.