Share existing eclipse project GitHub
If you want to share your existing eclipse project to GitHub please follow below steps:
Note: Before sharing eclispe project to GitHub you will have to install eclipse
- Create project in eclipse (We have created JavaTestProject which is java project in eclipse)
- Create new repository name JavaTestProject in GitHub so that we can give path of GitHub repository while sharing the project that you will see in below steps.
- Right click project –> Team –> Share project if you already installed GitHub plug-in in eclipse you will see below:
- Once you click next you will see below:
- On above window click Create for new GitHub local repository and that will same as below:
- Click Finish to complete setup
- Now to commit code in GitHub: Right clikc Project –> Team — Click commit you will see below window:
- Enter commit message then click Commit and Push. You will see below window please enter all information then click Next:
- Below window select Source ref and Destination ref Head and click All branched spec to give push specification as it will look as below then click Next:
- Next window you will see as below and click Finish to complete the process:
- If code pushes successfully you will see pushed confirmation window click OK
- That’s it code pushed to GitHub please verify it logging into GitHub. For more information please follow this link