... | ... | @@ -23,8 +23,9 @@ Note: You can skip this step if you already have a SSH key pair or if you prefer |
|
|
* A new "git" icon should appear in the upper right corner of your window.
|
|
|
* Click on he icon that says "Clone a Git Repository and add the clone to this view".
|
|
|
* Set URI to `https://forge.tic.eia-fr.ch/git/sup-algorithms/tp-algo1-2014.git` if you use HTTPS or `git@forge.tic.eia-fr.ch:sup-algorithms/tp-algo1-2014.git` if you use SSH with a private/public key.
|
|
|
* Accept the defaults valurs and click on "Next >".
|
|
|
* The system might ask for the passphrase. If so, give the passphrase that you used to protect your private key.
|
|
|
* For HTTPS, set the "User" and "Password" according to your school credentials.
|
|
|
* Accept the defaults values and click on "Next >".
|
|
|
* If you are using SSH, the system might ask for the passphrase. If so, give the passphrase that you used to protect your private key.
|
|
|
* The "master" branch should be selected. Click on "Next >".
|
|
|
* Set the field "Directory" with the path where you want to save the repository.
|
|
|
* The default remote name is "origin". change it to "upstream" and click on "Finish".
|
... | ... | @@ -44,7 +45,7 @@ Note: You can skip this step if you already have a SSH key pair or if you prefer |
|
|
* Add the teacher and assistant as a "Reporter"
|
|
|
* If you work in a team, you can also add your co-worker as a "Developer"
|
|
|
|
|
|
5) Add your remore repository to Eclipse
|
|
|
5) Add your remote repository to Eclipse
|
|
|
----------------------------------------
|
|
|
* Go back to Eclipse, and right-click on "Remotes".
|
|
|
* Choose "Create Remote...".
|
... | ... | @@ -60,7 +61,7 @@ Note: You can skip this step if you already have a SSH key pair or if you prefer |
|
|
* Click "Save".
|
|
|
|
|
|
Now "origin" iy **your** repository where you save your work and
|
|
|
"upstream" is the **teacher's repository** where we save the initial files for the assignemnts.
|
|
|
"upstream" is the **teacher's repository** where we save the initial files for the assignments.
|
|
|
|
|
|
6) Set the origin as your default remote repository
|
|
|
---------------------------------------------------
|
... | ... | @@ -79,11 +80,11 @@ Now "origin" iy **your** repository where you save your work and |
|
|
|
|
|
8) Add the "git" menu to your Java perspective
|
|
|
----------------------------------------------
|
|
|
* Click on `Window -> Customize Perspective...`.
|
|
|
* Click on `Window -> Customise Perspective...`.
|
|
|
* Open the "Command Groups Availability".
|
|
|
* Check "Git" and "Git Navigation Action"
|
|
|
|
|
|
9) Solve the assigment
|
|
|
9) Solve the assignment
|
|
|
----------------------
|
|
|
* Edit the files to solve the assignment and save your file
|
|
|
* Commit often your changes to your local repository (using the "Commit changes" icon of your menu bar)
|
... | ... | |