Wednesday 28 February 2018

Git Hub integration with Eclipse



GIT
STEPS TO LAUNCH REMOTE GIT REPOSITORY:
1.     Launch a Site in a browser with URL: https://github.com
2.     You are going to See a Home Page of GIT Hub. And Enter your Personal Details for Registration


3. After Signing Up Home Page of GIT Hub will Be Launched.
 






4.Welcome Screen Is Going to Be Appeared on Browser. There Click On"Continue"   Button. There You are going to the page below.



Step1: Click on *Window*







Step:2  Click on show view





Step3: Click on Others and select GIT .





Step4: Click on GIT and  select the all components under git.
 





Step5: Open eclipse and then navigate to the project






Step6: Right-click on the project and Select "team" then





Step7: Select share project





Step8: Click on CHECK BOX




Step9: Select the local repository and






Step10: Select your project and click on Create Repository button.




Step11: Click on finish.





Step12: Once we click on Finish, we can see the change in the project structure that we have created a local repository.

Now it's time to push our code to Git Hub Repository
Step13: Right-click on the project and team then



Step16: Click on commit

Step15: Enter a commit message and Select the files which we want to send to Git Hub repository


Step16: Click on commit



Step17: Click on Git Repositories and select our project.







Step18: Click on Remotes.


Step19: Right click on Remote and select Create Remote.






Step20: Select the Radio button Configure push and click on Ok button








Step21: Click on Change Button






Step22: Enter valid username and password that you have created. Click on Finish button.





Step23: Click on *Advanced * Button





Step24: Click on Drop down as show in below img.



Step25: Select the Source ref In refs/heads/masters and click on Add Spec Button








Step26: Click on *Force Update All Specs* Button







Step27: Click on Finish button.








Step28: Click on Save and push button.






Step29: Enter User and password of the our git hub Repository and Click on ok button




Step30: Once click the OK button it will be show like below image.










Step31: Click on OK button and go to git hub repository and refresh.





No comments:

Post a Comment