There has been a very good, but lengthy tutorial here, but if you have been comfortable with Git, and just want to commit, pull or push your code to and from GitHub or Bitbucket, the below measures will be a breeze.
- Download and install EGit here, or simply in Eclipse menu Help > Install New Software, and add below link to the input dialog: http://download.eclipse.org/egit/updates
- After it is installed, open you Eclipse project, right click on the Package Explorer, and there are only two menu items if you have not set up the EGit to work with your project.
- Click the menu item Team > Share Project… > Git
Yes, even though you have used Git Bash/cmd to setup your project, you need do so! Just to get EGit notified. Specify the root folder where .git (hidden folder) is located.
- Once you have done so, you will find when you right click the Package Explorer, Team > Share Project… > Git again, you will see many menu items now.
That is it. You can then do almost everything that can be done by Git Bash inside Eclipse.
Happy coding!
Filed under: Programming Tagged: addon, eclipse, EGit, git, plugin, tutorial
