Eclipse的egit插件 [英] egit plugin for Eclipse

查看:134
本文介绍了Eclipse的egit插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个gitlab仓库,并按照该信件的安装说明进行操作,这是成功的(我想...我可以在线浏览存储库),现在我想将eclipse中的egit插件连接到这个远程存储库。



我使用SVN已经有一段时间了,现在我们需要切换到git,我很困惑。 egit只给我选择创建一个本地存储库,但是我有点迷失在如何推/取代码到我的在线存储库。



任何建议将会很大赞赏:)



谢谢!

解决方案

使用Gitlab ssh urls),这意味着您必须首先在Egit中注册您的公钥和私有密钥,然后才能克隆它。



请参阅和描述使用版本控制的工作流程(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:

  • CVCS (Centralized Version Control System) like SVN
  • DVCS: Distributed Version Control System.

See "Sell me Distributed revision control" and "Describe your workflow of using version control (VCS or DVCS)" for more.

这篇关于Eclipse的egit插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆