Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to solve fatal: protocol '–https' is not supported.

Suraj Kumar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 5, 2024

I used "git remote add origin [URL]" and pasted the URL of my GitHub repository by right clicking the mouse and I think some hidden letters are also printed. How to solve this problem ?

1 answer

0 votes
Joseph Kugbe Sinnah July 7, 2024

Hi @Suraj Kumar 


The error "fatal: protocol 'https' is not supported" happens because there is a bad character in the URL. This often occurs when copying and pasting URLs, especially if hidden characters are included by mistake.

Note:  Please carefully copy and paste, If you like to copy the URL, first paste it into a plain text editor to remove any hidden characters. Then, copy it from the text editor and paste it into your terminal.

However type the URL manually to avoid any mistakes if copy and paste doesn't work.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events