2

I installed gitbash and generated ssh keys and copied it to my bitbucket account.

I tried clone a repository.

I'm getting an error as:

Git clone “fatal: I don't handle protocol 'ssh'”

Please help me how to fix this and clone to my repo

HDJEMAI
  • 9,436
  • 46
  • 67
  • 93
  • Can you please provide a copy of the commands you used? It is possible that you have inadvertently copied unicode characters into the command. See [this question](http://stackoverflow.com/questions/30474447/git-fatal-i-dont-handle-protocol-http) – Peter Apr 28 '17 at 03:48

2 Answers2

0

You must copy pasted the clone url, there will be white space in the clone URL.

Just make sure there is no whitespace in the clone url, if you are not sure just type the clone URL followed by 'git clone'

git clone https://github.com/your-repository-clone-no-white-space
Mohammed Abrar Ahmed
  • 2,290
  • 3
  • 15
  • 33
0

Simply do this:

git init
git clone https://github.com/your-clone-Url
Brijesh Ray
  • 779
  • 8
  • 15