How to add Git-Lab on Eclipse?
So that I can just push or fetch from GitLab. I am a newbie in this, please give more explanation.
How to add Git-Lab on Eclipse?
So that I can just push or fetch from GitLab. I am a newbie in this, please give more explanation.
I Preparation
Make sure you have eGit in Eclipse:
If it is not installed, follow the indications in the answer from @VonC
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:II Now clone the repository locally, using Eclipse eGit.
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 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.
III Now import the project into Eclipse.
You may now work within Eclipse and use the Team menus to sync and commit and push.
Install Egit in eclipse using Install new software from http://download.eclipse.org/egit/updates.
It seems that there is a Mylyn Gitlab Connector now.
I think I'll give it a try
The easiest way is to usean Eclipse with EGit (http://www.vogella.com/tutorials/EclipseGit/article.html)
See "Compare Eclipse packages" (the standard Eclipse, for instance, has EGit)
This will allow you to add a remote repo url referring to your gitlab repo hosting server.
This isn't specific to gitlab though, and you could add remote repos referring to Github or Bitbucket.
http://wiki.eclipse.org/EGit/User_Guide#Working_with_remote_Repositories