Programme I
Sometimes when you use plug-ins on eclipse to synchronize code with Egit on GitHub or OSC, there are times when cannot open git-upload-pack is a problem.
The general cause of this problem is two: first, network problems, network access to the Internet will always appear a variety of instability factors. Second, eclipse in the Egit plug-in configuration issues.
The first problem is solved by itself, and not much is said.
Today, the main 2nd: configuration issues.
Open Windows-->preferences-->team-->git-->configuration-->user Settings in Eclipse. Then click Add Entry to create a new key value pair , enter Http.sslverify=false.
:
Then make sure that git can pull and push normally.
The premise is that you can access https://github.com/or https://bitbucket.org/with your browser.
Programme II
In Eclipse, go to windows->prefrences->general->network connections->ssh
- Click tab "Key Management"
- Click generate RSA key.
- Click Apply-copy and paste everything in the box "Sha-rsa ..." into Gitlab->profilie-add SSH key
Attempt clone again via SSH.
Programme III
Modify
C:\Windows\System32\drivers\etc\hosts
Add Map Address
such as the following (please modify the IP and name according to your network situation):
192.168.1.117 beyond
Resolving cannot open git-upload-pack issues in Egit in eclipse