add eclipse project with git lab

27
Eclipse With GitLab 14/December/2016 By: Ms. Sa Sokngim

Upload: sokngim-sa

Post on 08-Feb-2017

91 views

Category:

Education


4 download

TRANSCRIPT

Page 1: Add eclipse project with git lab

Eclipse With GitLab14/December/2016By: Ms. Sa Sokngim

Page 2: Add eclipse project with git lab

Content 1. Create Project With GitLab2. Create Git Repository in Local3. Add Project Local to Git Repository in Local4. Commit File to Repository5. To Link Git Repository of eclipse with GitLab6. Push the project to GitLab7. Result After Finish Push8. Clone Project From GitLab to Eclipse

Page 3: Add eclipse project with git lab

1. Create Project With GitLab

Page 4: Add eclipse project with git lab

Create Project with gitLab• Login to gitlab New Project 1. complete Project

Name 2. Choose Visibility Level 3. Create Project

1

2

3

Page 5: Add eclipse project with git lab

After Create Project

Page 6: Add eclipse project with git lab

2. Create Git Respository in Local

Page 7: Add eclipse project with git lab

Create Git Respository Local• Window Menu Open Perspective Other

Select Git Ok Create a New Git Repository

Page 8: Add eclipse project with git lab

12

1. Browse to directory for Git2. Set Folder for git project3. Click on Button Finish

3

Page 9: Add eclipse project with git lab

After Create Git Respository

Page 10: Add eclipse project with git lab

3. Add Project Local to Git Repository in Local

Page 11: Add eclipse project with git lab

Add project to git repository

Page 12: Add eclipse project with git lab

After Add Project in Git Repository

Page 13: Add eclipse project with git lab

4. Commit File to Repository

Page 14: Add eclipse project with git lab

After making changes to project commit

Right Click on Project Team Commit

Write Sth in Commit Message Select All File Commit and Push

Page 15: Add eclipse project with git lab

5. To Link Git Repository of eclipse with GitLab

Page 16: Add eclipse project with git lab

To Link Git Repository of eclipse with GitLab

1

1. Copy link url from GitLab to paste on URI place2. User and password from GitLab account

2

3 4

3. Select Source ref4. Click on Add Spec

Page 17: Add eclipse project with git lab

6. Push the project to GitLab

Page 18: Add eclipse project with git lab

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

Page 19: Add eclipse project with git lab

7. Result After Finish Push

Page 20: Add eclipse project with git lab

Result After Finish Push- In Eclipse

- In GitLab

Page 21: Add eclipse project with git lab

8. Clone Project From GitLab to Eclipse

Page 22: Add eclipse project with git lab

Copy link of Project From GitLab

Page 23: Add eclipse project with git lab

In Eclipse• Window Menu Open Perspective Other

Select Git Ok Create a New Git Repository

Page 24: Add eclipse project with git lab

Link Repository with GitLab URL

Page 25: Add eclipse project with git lab

Browse for Location to store project

Page 26: Add eclipse project with git lab

To import Project From Git Repository to Eclipse workspace

Page 27: Add eclipse project with git lab

After Clone Project