1. Background notes
Today, GIT clone times fatal: I don’t handle protocol ‘HTTPS’ is used in cygwin as follows:
I thought that there was something wrong with git implemented by cygwin, so I didn’t care too much about it. I replaced it with CMD, but it still reported fatal: I don’t handle protocol ‘HTTPS’
And there is a warning: your console font probably doesn’t support Unicode
Title bar right click attribute, change the font to imitation song, the warning is gone, but still fatal: I don’t handle protocol ‘HTTPS’
There is no way to search for a wave, and then I see a lot of like answers on stackoverflow
Special characters?It’s reasonable that git can’t not support HTTPS, and I don’t have a Chinese link. How can Unicode appear in CMD
Looking back at the link carefully, we finally find the answer: there are two spaces before HTTPS. Two spaces are not the problem, but the problem is that one space is Unicode
2. Treatment method
This kind of error rate is probably caused by special characters before the link, especially before the protocol (such as HTTP and HTTPS)
For example, the error I report here is that there is a Unicode space in front of HTTPS. Just delete it and then execute it
Similar Posts:
- [Solved] Git clone Error: fatal: Protocol ‘HTTPS’ is not supported
- [Solved] Dom4j parsing XML file error: invalid XML character (Unicode: 0x8)
- [Solved] Git Clone Error: fatal: protocol ‘https’ is not supported
- What is the difference between utf8mb4 Unicode Ci and UTF8 general CI in MySQL database?
- Httprunner3 – special character processing: get the content type from the returned header (the error has been solved: bad jmespath expression: unknown token ‘-‘)
- Spring MVC upload file error string cannot be converted to multipartfile
- Git clone fatal: protocol ‘https’ is not supported
- Python uses xlwt length limit to report errors
- error: no video mode activated. [How to Solve]
- [Solved] javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure