Eclipse 的 egit 插件
egit plugin for Eclipse(Eclipse 的 egit 插件)
本文介紹了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 插件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!