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!
First you need to clone the remote repository using
git clone <repository>
, then you can import it to eclipse using egitOr
You can use the clone functionality provided by EGit to clone the remote repo to local system
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:
See "Sell me Distributed revision control" and "Describe your workflow of using version control (VCS or DVCS)" for more.