EGIT

From SIMA wiki
Revision as of 10:19, 17 January 2013 by Herret (talk | contribs) (GIT Commands)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

EGit is an extention for eclipse. So you can execute all command without leaving the eclipse environment.

Install EGIT Plugin

Variante 1

  1. Run eclipse as administrator!!!
  2. Help→Install new sofware
  3. Select ”–All Available Sites–” in work with pull-down-menu.
  4. Enter “egit” in text box “type filter text”.
  5. Select Collaboration/Eclipse Egit
  6. Button “Next”
  7. Button “Next”
  8. Radiobutton “I accept …”
  9. Button “Finish”
  10. Button “Restart Now”


Variante 2

  1. Run eclipse as administrator!!!
  2. Help→Eclipse Marketplace
  3. Search for the keyword “egit”
  4. Select EGit Software (probably top in the list) → Button “Install”
  5. Button “Next”
  6. Button “Next”
  7. Radiobutton “I accept …”
  8. Button “Finish”
  9. Button “Restart Now”

Check Installation

  1. Run eclipse
  2. Help→Install new sofware
  3. Close to the bottom of window “Install”: click “already installed”
  4. Tab “Installed software”
  5. “Eclipse EGit” should be in the list


Clone Code

  1. start eclipse
  2. Window/Open Perspective/Other …
  3. “Git Repository Exlopering” → Ok
  4. In case the message with the environment variable HOME appears, please ignore it and press Ok
  5. Select the “Git Repository Exlopering” View
    Git repo expl view.png
  6. Select the icon for “Clone a Git Repository and add the clone to this view”
    Git clone repo.png
  7. Enter ssh://USERNAME@vesta.ict.tuwien.ac.at/home/prj/ARS/GITRoot/ARSIN_V01 in the field URI
  8. Enter your username and password in the fields in the Authentication from group
  9. Press button “Next”
  10. Select all branches. Currently (CB and master).
  11. Press button “Next”
  12. Enter S:\ARSIN_V01 as destination directory. Initial branch is master; Remote name is origin.
  13. Press button “Finish”
  14. Wait until cloning has finished. Typically a few minutes.
  15. Now, the ARSIN_V01 code repository is visible in the Git Repositories tab.
    Git view working.png

GIT Commands

  • Makr all projects
  • Right click ->team

There you can find all git commands described in GIT Commands.