From fff2dfe9d5d8da6651d521835eee0be9afecca7c Mon Sep 17 00:00:00 2001
From: Sylvain Arreckx <sylvain.arreckx@gmail.com>
Date: Wed, 18 Jan 2017 00:07:09 +0100
Subject: [PATCH] add homework instructions.

---
 homework.md | 35 +++++++++++++++++++++++++++++++++++
 list.json   |  6 ++++++
 2 files changed, 41 insertions(+)
 create mode 100644 homework.md

diff --git a/homework.md b/homework.md
new file mode 100644
index 00000000..c8d36231
--- /dev/null
+++ b/homework.md
@@ -0,0 +1,35 @@
+## Homework
+
+*This exercise has to be done on your lab computer on which `Matlab` **is** installed. Don't forget to properly configure git with your username and email, as we did this morning.*
+
+This morning, during the training, you played with the `https://git-r3lab.uni.lu/git-training/practice` repository.
+
+This afternoon, your job is to create a fork of this repository, commit some code and create a merge request on `GitLab`.
+
+
+## Instructions
+
+- First, fork the `https://git-r3lab.uni.lu/git-training/practice` repository.
+
+- Create the new branch `yourName`
+
+- Implement a new function called `sqrt_myName` that computes the square root of a number.
+
+- Copy the `test.m` file to `test_myName.m` and change the names of the functions accordingly.
+
+
+- Before submitting the merge request, verify locally that your code is running properly.
+  Simply execute it
+   ```sh
+   $ matlab -nodesktop -nosplash < test_myName.m
+   ```
+   and verify that no error is reported.
+
+- Create a merge-request.
+
+- Assign either Laurent or Sylvain depending on your group and your merge-request will be reviewed by one of us.
+
+That's it!
+You are done for today.
+
+See you tomorrow for the debriefing of the git training.
diff --git a/list.json b/list.json
index b6cafbb4..c4a5b483 100644
--- a/list.json
+++ b/list.json
@@ -70,5 +70,11 @@
         "attr": {
           "data-background": "../img/whiteBG.jpg"
         }
+    },
+    {
+        "filename": "homework.md",
+        "attr": {
+          "data-background": "../img/whiteBG.jpg"
+        }
     }
 ]
-- 
GitLab