In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how to solve the git installation windows error handling, the content is very detailed, interested friends can refer to, hope to be helpful to you.
For example, I use git clone gitURL under windows
Prompt SSL certificate problem: self signed certificate in certificate chain
This kind of problem appears more frequently under windows. I guess the main reason is that git itself is based on linux, and on windows, it is easy to lack some environments.
1. Create a temporary environment variable:
Enter on the command line on windows:
[plain] view plaincopy
Set GIT_SSL_NO_VERIFY=true git clone
Under Linux:
[plain] view plaincopy
Env GIT_SSL_NO_VERIFY=true git push
Here clon can be replaced with other git commands as needed.
You can also make the temporary environment variable permanent. Anyway, it's not risky to never verify the SSL certificate.
two。 Use the configuration commands that come with git:
[plain] view plaincopy
Git config-global http.sslVerify false
Linux processing
Git problem: Please make sure you have the correct access rights and the repository exists.
When you encounter a problem as shown in the title, open the terminal
MBP:baiyunshen_rn lianyu02 $git pull
Git@gitlab.intebox.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
Fatal: Could not read from remote repository.
Please make sure you have the correct access rights
And the repository exists.
How to deal with this kind of problem? It's simple
As follows:
Ssh-keygen-t rsa-C "fangcaiwen", / / fangcaiwen is your git account.
Generating public/private rsa key pair.
Enter file in which to save the key (/ Users/lianyu02/.ssh/id_rsa): / / enter
Enter passphrase (empty for no passphrase): / / enter
Enter same passphrase again: / / enter
Your identification has been saved in / Users/lianyu02/.ssh/id_rsa.
Your public key has been saved in / Users/lianyu02/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:oXm37ngA1/jn+dHYsSTrePXNvT9hHEqdjl1ktdW8Z2w fangcaiwen
The key's randomart image is:
+-[RSA 2048]-+
|. = |
| | B |
| | .o. = o |
| .oo.. . = E |
| | ooS.. | . * = + |
| | .o + @ o |
| |.. o o=oB |
| o. =. O = |
| .oo.o.o.= |
+-[SHA256]-+
And then execute.
Cat / Users/lianyu02/.ssh/id_rsa.pub / / this road strength can be found in your car all the time.
The result is: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC9+KpKzJKJjFkFABmSAPX74Rjn5qh4jQfbhbXppvIOTMU2fd/ribLQ+mP5Dj89IRAKGyQ/+vwyq0O6Y1e92Rst+Uyd9dgxk+CqK+fAsaHoVF9yCyJBA5eY6IiX5Vh6sbWHKsMfJUNt2rp9MjXrMJjkrxjCaa74iXeUvE9eN3ZRbxyehLP+EOv2nakxyvdao3moiWVHpJb1HdIoJQg9AGz5XqE6BLxegrpte0KJ+knnZtY1FE2Q7WvC/9pu9/IA7JWC8M85CcldR/iwRSDKn9bJesWIi0Og9tRAkRvSEQlr4lSL7fvlPDAV19tIRZ2itpD7uUESjFld05u0MMZjsMN7 fangcaiwen
If you have this problem with gitlab, (same with github), find the settings and click SSH keys
As shown in the figure:
Press .jpg as shown by the arrow
Click the arrow in the picture to paste the above result, click add Add key, and then go back to terminal git pull to solve the problem perfectly.
On how to solve the git installation windows error handling is shared here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.