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

前端 未结 12 696
半阙折子戏
半阙折子戏 2020-12-25 13:00

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

相关标签:
12条回答
  • 2020-12-25 13:13

    to fix SSL issue you can also try doing this.

    Download the NetworkSolutionsDVServerCA2.crt from the bitbucket server and add it to the ca-bundle.crt

    ca-bundle.crt needs to be copied from the git install directory and copied to your home directory

    cp -r git/mingw64/ssl/certs/ca-bundle.crt ~/

    then do this. this worked for me cat NetworkSolutionsDVServerCA2.crt >> ca-bundle.crt

    git config --global http.sslCAInfo ~/ca-bundle.crt

    git config --global http.sslverify true

    0 讨论(0)
  • 2020-12-25 13:14

    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
    
    0 讨论(0)
  • 2020-12-25 13:15

    This is a quite old post, but:

    • never oh never disable ssl verify as suggested in some answers

    • if you want to stick with https:

      1. retrieve add your git server certificate (using firefox for example)
      2. add it to your java keystore. See https://stackoverflow.com/a/27928213/5423781
    0 讨论(0)
  • 2020-12-25 13:16

    This works for me: http://gitblit.com/setup_client.html

    Eclipse/EGit/JGit

    Window->Preferences->Team->Git->Configuration
    Click the New Entry button
    
    Key = http.sslVerify
    Value = false
    
    0 讨论(0)
  • 2020-12-25 13:16

    I got this Error after re-creating a Repository on my Server (Codebeamer) - the User in Question lacked some permissions, after granting them, everything worked fine.

    0 讨论(0)
  • 2020-12-25 13:16

    Check to see if the user is suspended in GitHub. Access their user page and if a banner is across the top of the page that says, "This user is suspended." that is probably your issue.

    0 讨论(0)
提交回复
热议问题