When I try to to commit ti github repo using egit I receive below error :
What does this error mean ? This is my first commit.
Here is how I am trying to commit :
When I try to to commit ti github repo using egit I receive below error :
What does this error mean ? This is my first commit.
Here is how I am trying to commit :
The issue for me was an incorrect version of egit. When using the eclipse update site I used the recommended version instead of the Indigo version.
From the Egit download page:
On March 4, GitHub temporary disabled all the public keys until you approve them due to security reasons. I had the same problem when I tried to commit. For those who have met the same exceptions after March 4, 2012, go to https://github.com/settings/ssh/audit/ and approve your public keys so that you can pull-from/push-to your repository again.
In my case the ssh key setup on github was not done correctly. As soon as I removed repository specific deploy keys and defined a global ssh key things started to work as expected for me
I would first ensure that your settings are correct by using git bash to clone the repository. This will print out any problems if you encounter an error. This will verify that your network settings and git settings are correct.
If you need a read-only URL, you could try using the github read-only URL, which looks like: git://github.com/path/to/repo.git
However, github users read/write URLs for pushing code to github. These URLs use the following format: git@github.com:path/to/repo.git
. You can find these URL's listed on the github repo page. It may be that the problem you're encountering is if you're pushing to github but using the HTTP protocol rather than the read/write protocol git@
.
Going to the right depth in the repository url to match which directory .git is actually in (without specifying .git itself) worked for me. I was trying to go one level too high.