I have been coding up a new project for several weeks and finally decided to put it up on GitHub. So I installed Git (sudo apt-get install git
), created an account on GitHub, and then created a new repository with the same name as my Eclipse project. I'm now trying to add my existing Eclipse project to Git version control, and connect it to my GitHub repository.
I ran git init /home/myuser/sandbox/workspace/MyApp
.
How do I now connect it to my HitHub repo, so that when I git push
some changes, I'll be able to login to GitHub and see them?
The simplest (and probably the best) method to install EGit plugin, and then either import from local repository or from github
If you already have eclipse project you can just 'right click' on it and 'share'. After select provider (git) just add your github repo url and have fun.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With