egit plugin for Eclipse(Eclipse 的 egit 插件)
问题描述
我已经创建了一个 gitlab 存储库并按照字母的安装说明进行操作,并且成功(我认为...我可以在线浏览存储库),现在我想将 egit 插件从 eclipse 连接到这个远程存储库.
我使用 SVN 已经有一段时间了,现在我们需要切换到 git,我很困惑.egit 只为我提供了创建本地存储库的选项,但我对如何将代码推送/获取到我的在线存储库有点迷茫.
任何建议将不胜感激:)
谢谢!
使用 Gitlab(使用 ssh url),这意味着你必须先在 Egit 中注册你的公钥和私钥,然后才能克隆它.
p>
请参阅 .
是的,你需要在本地克隆完整的 repo 来处理它,这就是 a:
- CVCS(集中式版本控制系统)如 SVN
- DVCS:分布式版本控制系统.
请参阅向我出售分布式修订控制"和描述您使用版本控制(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 插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Eclipse 的 egit 插件
基础教程推荐
- 大摇大摆的枚举 2022-01-01
- 如何在 JFrame 中覆盖 windowsClosing 事件 2022-01-01
- Java 实例变量在两个语句中声明和初始化 2022-01-01
- 验证是否调用了所有 getter 方法 2022-01-01
- 多个组件的复杂布局 2022-01-01
- 从 python 访问 JVM 2022-01-01
- 如何在 Spring @Value 注解中正确指定默认值? 2022-01-01
- 不推荐使用 Api 注释的描述 2022-01-01
- 在 Java 中创建日期的正确方法是什么? 2022-01-01
- Java Swing计时器未清除 2022-01-01
