Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How Can I Resolve:"can not open 'git-upload-pack' " error in eclipse?

Tags:

I am building an android app with the facebook api and I need to import the facebook android sdk. When I want to import this file from github it throws the .."can not list the available branches..'can not open git-upload-pack'"...the detailed error was now:

https://github.com/facebook/facebook-android-sdk/: cannot open git-upload-pack java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty 

Please, how can I resolve this?"

like image 1000
ewom2468 Avatar asked Aug 16 '11 10:08

ewom2468


People also ask

How do I open Git in Eclipse?

Use Ctrl+3 (or Cmd+3) and type Git Repositories in the dialog to open the Git repositories view. This view shows you the Git repositories you can work with in Eclipse and allows you to add existing repositories to Eclipse, create or clone repositories. It also allows you to perform Git operations.

Can we connect Git with Eclipse?

The Eclipse IDE provides support for the Git version control system. You can easily perform the necessary Git commands like staging, commit, merge, pull and push via the Eclipse IDE. Git is pre-installed in Eclipse IDE. If git is not installed by default, go to Help > Eclipse Marketplace and install git explicitly.

How do I initiate a Git repository in Eclipse?

Create a local Git repo for your Eclipse project With your project open in Eclipse, right-click the project name in Project Explorer and select Team, Share Project... Select Git and select Next. Select Create... from the Configure Git Repository window and choose a folder for your local Git repo. Select Finish.


1 Answers

I also came across this issue trying to push via https to a repo using a self-signed SSL certificate.

The solution for me was running (from the local repository root):

git config http.sslVerify false 
like image 159
arashi01 Avatar answered Oct 15 '22 04:10

arashi01