Sunday, April 28, 2013

Egit: Checking out/in

Checking out


  1. Right click on "Package Explorer" view
  2. Select "Import"
  3. Type "Git" in the search text box
  4. Select "Projects from Git"
  5. Click "Next"
  6. Select "URI"
  7. Paste your git repository in the URI text box 
  8. Verify everything is correct click "Next"
  9. Select the branch you want to check out and click "Next"
  10. Verify the local destination is correct and click "Next"
  11. Wait a minute as it download the project
  12. Select "Import existing projects"
  13. Click "Next"
  14. Click "Finish" and voila, the project is in our workspace!

Checking in


  1. Right click on the project
  2. Select "Team"
  3. Select "Synchronize with workspace"
  4. Select "Yes" if asked to open the Synchronized view
  5. In this page, you can see what has been change. Verify the changes are correct.
  6. Right click on the project
  7. Select "Commit"
  8. Enter a commit message
  9. Click "Commit"
  10. Return to the "Package Explorer" view
  11. Select "Team"
  12. Select "Push to Upstream"
  13. Click "OK" when shown what has been committed
Note1: Will update with pictures once I figure out where the picture editor the a Mac is. 
Note2: I'm currently using the command line to do all the check in check out. But I thought this might be useful for someone who's familiar with Eclipse and is uncomfortable with the command line like I was a few weeks back.

0 comments:

Post a Comment