如何在 Eclipse 上添加 Git-Lab?
How to add Git-Lab on Eclipse?
这样我就可以从 GitLab 推送或获取.我是这方面的新手,请多多解释.
So that I can just push or fetch from GitLab. I am a newbie in this, please give more explanation.
确保在 Eclipse 中有 eGit:
Make sure you have eGit in Eclipse:
如果未安装,请按照@VonC 的答案中的指示
If it is not installed, follow the indications in the answer from @VonC
确保您拥有 GitLab 中存储库的 URL.类似于 https://gitlab.com/<someusername>/<somerepository>
当您在项目的概述页面时,您可以从 gitlab.com 获得它:
Make sure you have the URL to the repository in GitLab. Something like https://gitlab.com/<someusername>/<somerepository>
You get it from gitlab.com when you are at the overview page for the project:
这些步骤已在 Eclipse Kepler 和 Eclipse Luna 中进行了测试.有传言说它们已经过时,可能无法按指示工作.如果您使用较新的 Eclipse,请注意并回发新步骤 :-)
These steps have been tested in Eclipse Kepler and Eclipse Luna. Rumor has it that they are outdated and might not work as indicated. If you use a newer Eclipse, take care and post back the new steps :-)
https://gitlab.com/<someusername>/<somerepository>
eGit 现在可以工作一段时间,并在视图中向您显示新克隆的存储库.您有一个克隆的存储库,您可以通过 Eclipse 与之交互.
eGit now works for a bit and shows you the newly cloned repository in the view. You have a cloned repository with which you will be able to interact from Eclipse.
您现在可以在 Eclipse 中工作并使用 Team 菜单进行同步、提交和推送.
You may now work within Eclipse and use the Team menus to sync and commit and push.
这篇关于如何在 Eclipse 中添加 GitLab 存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!