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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.