This guide was intended towards my ILP group working on adding features to an old java game made previously.
This guide assumes you have already cloned and made changes to indexed files in the project.
I am also assuming that there is only one branch, namely the master branch.
Right Click on your project in the package explorer > Team > Commit…
Add the files you would like to apply to the remote repository to the staged changes section, shown below.
Right Click on the File > Add to Index
Enter a commit message.
Enter your author (if necessary).
At this point, if you have other members working on the same branch, you will want to retrieve updates that happened between the time you started making changes in the project and the time you committed those changes.
You may or may not have to deal with conflicts from other commits. I have not come across this situation yet so I can’t show an example here at this time.
After handling conflicts. You want to push your changes to the remote Git repository.
Right Cick on Project > Team > Remote > Push…
NOTE: This is NOT the same as Team > Push Branch ‘master’ or Push to Upstream