git: fatal: I don't handle protocol '​​http'

前端 未结 20 2193
遇见更好的自我
遇见更好的自我 2020-12-02 04:42

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         


        
相关标签:
20条回答
  • 2020-12-02 05:07

    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.

    0 讨论(0)
  • 2020-12-02 05:09

    In Android Studio:

    I removed git clone and just retain the url only and it worked!!

    0 讨论(0)
  • 2020-12-02 05:09

    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.

    0 讨论(0)
  • 2020-12-02 05:13

    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.

    0 讨论(0)
  • 2020-12-02 05:14

    Summary: Type the url instead of copy pasting it in the commandline. It worked for me.

    0 讨论(0)
  • 2020-12-02 05:15

    Please do not copy from the clipboard . Just copy the url from your browser's location / Address bar .

    0 讨论(0)
提交回复
热议问题