Add eclipse project with git lab

Post on 08-Feb-2017

72 views 4 download

transcript

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

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

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

12

1. Browse to directory for Git2. Set Folder for git project3. 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 place2. User and password from GitLab account

2

3 4

3. Select Source ref4. 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