Saturday, January 9, 2021

How to commit your changes From Eclipse to GitHub

 

How to commit your changes From Eclipse to GitHub

Step 1:

Open Window->Perspective->Open Perspective->Other->Git



Step 2:

The Git perspective mode will display.

Step 3:

Click on Clone a Git repository


Step 4:

Copy Repository name path in GitHub


Step 5:

Paste Repository name path into Clone Git Repository in Eclipse

Step 6:

Click on Next


Step 7: Click on Next



Step 8: Click on Finish ->Confirm Git repository will open in eclipse




Step 10:

Project has linked into GitHub


Step 11: After making some changes in your project files->Click on Commit



Step 12:

You can see the changes file names are displayed & Enter commit message




Step 13:

Click on Commit and Push ->You can see the Push Window


Step 14:

Click on Preview ->Commit Message is displayed


Step 15: Click on Push



Step 16:

You can see your eclipse all changes were cleared





Step 17:

Go to GitHub repository->Your changes were updated