我已经创建了一个 gitlab 存储库并按照字母的安装说明进行操作,并且成功(我认为...我可以在线浏览存储库),现在我想将 egit 插件从 eclipse 连接到这个远程存储库.
我使用 SVN 已经有一段时间了,现在我们需要切换到 git,我很困惑.egit 只为我提供了创建本地存储库的选项,但我对如何将代码推送/获取到我的在线存储库有点迷茫.
任何建议将不胜感激:)
谢谢!
使用 Gitlab(使用 ssh url),这意味着你必须先在 Egit 中注册你的公钥和私钥,然后才能克隆它.
p>
请参阅 .
是的,你需要在本地克隆完整的 repo 来处理它,这就是 a:
请参阅向我出售分布式修订控制"和描述您使用版本控制(VCS或 DVCS)" 了解更多信息.
I have created a gitlab repository and followed the installation instruction by the letter and it was successful (i think... i can browse the repository online) and now I want to connect the egit plugin from eclipse to this remote repository.
I was using SVN for quite some time and now we need to switch to git and I am confused. egit only gives me the option to create a local repository but I'm a bit lost on how to push/fetch code to my online repository.
Any advice will be greatly appreciated :)
Thanks!
With Gitlab (working with ssh urls), that means you have to register your public and private ssh key in Egit first before being able to clone it.
See EGit ssh configuration
Then you can clone it.
And yes, you need to clone the full repo locally to work on it, that is the difference between a:
See "Sell me Distributed revision control" and "Describe your workflow of using version control (VCS or DVCS)" for more.
这篇关于Eclipse 的 egit 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!