Wednesday, July 17, 2019

How to upload new created projet in Eclipse to GIT Hub

1- Create gitbub account
2- Create new repository on that github account
3- From Eclipse first go to GIT prospective
4- Try to clone the empty *.git repository in step-2
5- Then import above step 4 repositories in our Eclipse Workspace project
6- Copy all the code which we want to upload to the git in that newly imported project in eclipse work space
7- Refresh the project/clone project ui in GIT prospective in eclipse. We will be able to see all the code in it.
8- Run the following command from project space
right click project--> Team --> Synchronized work space
9- Refresh the the project/clone project ui in GIT prospective in eclipse.
10- Open GIT Staging from Eclipse Quick Access
11- Enter the comments and push the code to GIT.

No comments: