I copy and pasted an git clone command from a web page: https://fedorahosted.org/ibus-typing-booster/
I got this:
user@host> git clone http://gi
The same issue happened with me when I have just copied the url into the clipboard and then pasted it into the terminal. Rewriting whole the line without copy-past option resolved my issue.
In Android Studio:
I removed git clone and just retain the url only and it worked!!
Related answer with this question.
Error - fatal: I don't handle protocol 'git clone https'
I was trying to clone git project to my newly installed VScode in my Linux system, i was copied the entire url from bit bucket, which was like
git clone https://abc@bitbucket.org/abcuser/myproject.git
But actually it running command like
git clone git clone https://abc@bitbucket.org/abcuser/myproject.git
in the bit bucket.
So Simply do the following steps :
1. Enter Ctr+p; this will open command box. Enter and open 'Clone'
2. Now only paste the url of your git reposiratory here. eg: https://abc@bitbucket.org/abcuser/myproject.git
3. After that box for enter your git password will appear on screen. Enter your git password here.
4. Done.
The solution is very simple:
1- Copy your git path. forexample : http://github.com/yourname/my-git-project.git
2- Open notepad and Paste it. Then copy the path from notepad.
3- paste the path to command line
thats it.
Summary: Type the url instead of copy pasting it in the commandline. It worked for me.
Please do not copy from the clipboard . Just copy the url from your browser's location / Address bar .