I followed directions from this page. Everyting seems to work. So in short what I did.

Created a repository in GitHub called 'myrepository' Imported the repository successfully into Zend framework. In Zend Studio went to preferences -> general -> network connections -> ssh2 -> key management -> Generate SSH key. I then copied and pasted the key into my account on github.

If I create a file in GitHub and go back to Zend Framework to pull it in, it actually works. If I do it the other way around though creating a file in ZF and then trying to push it, it doesn't show up in my repository in GitHub. Can't figure out why.

有帮助吗?

解决方案

I didn't realise I needed to create a local repository first in order to properly set up ZS with EGit.

I Followed the tutorial on the EGit gettting started page, and then went back to the instructions on EGit with GitHub instructions. This made Nils Werner's comment make sense where you simply choose the connection method on your GitHub account and configure EGit accordingly.

其他提示

Well, those instructions use the https method while you are trying to set up the ssh method...

You either don't need to set up your ssh keys or you need to use the git@github.com... URL.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top