I was trying to import git repo in eclipse. it was imported successfully but when I tried to push changes to upstream, I found 'git: cannot open git-receive-pack' in eclipse. Then I realized, before few days, I had configured SSL cert private key in my eclipse, So to get rid off from this error, below steps I have followed.
If your git configured with SSL cert or it is outdated, We are getting such an error.
If your git configured with SSL cert or it is outdated, We are getting such an error.
Solution:
Solution1 - From terminal - >
git config http.sslVerify false
Solution2 - If you are using
eclipse, then
-
open preferences via application menu Window => Preferences (or on OSX Eclipse => Settings).
-
Navigate to Team => Git => Configuration
-
click Add entry..., then put http.sslVerify in the key box and false in the value box.
Its done!!!
No comments:
Post a Comment