将 GitHub 与 Eclipse 结合使用
这可能是一个愚蠢的问题,但我已经下载了在 GitHub 中创建的 EGit,并且我可以使用命令行提交/推送。但是,我不知道如何将文件提交/推送到 GitHub 中的特定存储库。我可以执行 Team->share->create git repo 等,但似乎无法推送任何内容。我应该如何将 java 项目与 GitHub 上的存储库(或通常任何 Git 存储库)链接?
This is probably a stupid question but I have downloaded EGit, created in GitHub, and I am able to commit/push using the command line. However, I couldn't figure out how to commit/push files to a specific repo in GitHub. I can do Team->share->create git repo etc. but can't seem to push anything. How am I supposed to link a java project with a repo on GitHub(or generally any Git repo)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以首先在 Github 上创建存储库,然后使用 EGit 克隆 它,然后推送就像对待任何其他存储库一样。当然,您首先需要正确设置加密密钥。
You can first create the repo on Github, then clone it with EGit and then push to it like to any other repository. Of course you first need to setup the encryption keys correctly.