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 ?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.