Eclipse With GitLab
14/December/2016
By: Ms. Sa Sokngim
Content
1. Create Project With GitLab
2. Create Git Repository in Local
3. Add Project Local to Git Repository in Local
4. Commit File to Repository
5. To Link Git Repository of eclipse with GitLab
6. Push the project to GitLab
7. Result After Finish Push
8. Clone Project From GitLab to Eclipse
1. Create Project With GitLab
Create Project with gitLab
• Login to gitlab  New Project  1. complete Project
Name  2. Choose Visibility Level  3. Create Project
1
2
3
After Create Project
2. Create Git Respository in Local
Create Git Respository Local
• Window Menu  Open Perspective  Other 
Select Git  Ok  Create a New Git Repository
1
2
1. Browse to directory for Git
2. Set Folder for git project
3. Click on Button Finish
3
After Create Git Respository
3. Add Project Local to Git
Repository in Local
Add project to git repository
After Add Project in Git Repository
4. Commit File to Repository
After making changes to project commit
Right Click on Project  Team  Commit
Write Sth in Commit Message  Select All File
 Commit and Push
5. To Link Git Repository of eclipse
with GitLab
To Link Git Repository of eclipse
with GitLab
1
1. Copy link url from GitLab to paste on URI place
2. User and password from GitLab account
2
3 4
3. Select Source ref
4. Click on Add Spec
6. Push the project to GitLab
Push the project to GitLab
1. Check on Force Update -> 2. Finish Button  3. Waiting it Push Fish  4. Click on OK
1
2
3
4
7. Result After Finish Push
Result After Finish Push
- In Eclipse
- In GitLab
8. Clone Project From GitLab to Eclipse
Copy link of Project From GitLab
In Eclipse
• Window Menu  Open Perspective  Other 
Select Git  Ok  Create a New Git Repository
Link Repository with GitLab URL
Browse for Location to store
project
To import Project From
Git Repository to
Eclipse workspace
After Clone Project

Add eclipse project with git lab

Editor's Notes

  • #17 Copy link url from GitLab to paste on URI place User and password from GitLab account 3. Select Source ref 4. Click on Add Spec