You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hand-in-homework-guide.md
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -12,28 +12,33 @@ Watch the video (by clicking the image) or go through the following walk-through
12
12
13
13
ONE TIME ONLY (START OF EVERY MODULE)
14
14
15
-
1. Create a [fork](https://help.github.com/en/articles/fork-a-repo) of the homework module repository. For JavaScript (as well as the next 2 modules), the homework module repository is `https://www.github.com/HackYourHomework/Homework-classXX` where XX is your class number. You do this by using the `fork` option on the top right
16
-
2. Navigate to the URL of the cloned repository (it should be in your personal GitHub account, under "repositories")
17
-
3. Clone the repository, using SSH, to your local machine. You can do this by typing in `git clone <git url>` in the command line
18
-
4. On your local machine, navigate to the folder using the command line
15
+
1. Create a [fork](https://help.github.com/en/articles/fork-a-repo) of the homework module repository. For JavaScript (as well as the next 2 modules), the homework module repository is `https://www.github.com/HackYourHomework/Homework-classXX` where XX is your class number. You do this by using the `fork` option on the top right.
16
+
2. Navigate to the URL of the cloned repository (it should be in your personal GitHub account, under "repositories").
17
+
3. Clone the repository, using SSH¹, to your local machine. You can do this by typing in `git clone <git url>` in the command line.
18
+
4. On your local machine, navigate to the folder using the command line.
19
19
5. Make sure you've cloned it correctly by running `git status` from the command line.
20
20
6. This homework repository is a little special, have a look through the README how it all works!
21
21
22
22
EVERY WEEK
23
23
24
24
1. Do a `git pull` on your main branch to get the latest version.
25
-
2. Create a new branch for each week you have homework. For example, for the week 1 homework for JavaScript create a branch called `YOUR_NAME-w1-JavaScript`. Don't forget to checkout this branch after creating it.
25
+
2. Create a new branch for each week you have homework. For example, for the week 3 homework² for JavaScript create a branch called `YOUR_NAME-w3-JavaScript`. Don't forget to checkout this branch after creating it. You should not modify the `main` branch.
26
26
3. Make your homework!
27
27
4. Once you're finished, add your homework to a commit. There will be some test and config files added by the test runner, this is expected and should be added!
28
-
5. Create the commit (`git commit`). Make the commit message meaningful, for example `finished project for homework week1`.
29
-
6. Push the branch to your forked repository
30
-
7. On the GitHub page of your forked repository, click on the `create pull request` button. Make sure the `base repository` is your teacher's repository, on branch master
28
+
5. Create the commit (`git commit`). Make the commit message meaningful, for example `Finished project for homework week 3`.
29
+
6. Push the branch to your forked repository.
30
+
7. On the GitHub page of your forked repository, click on the `create pull request` button. Make sure the `base repository` is the `Homework-classXX` repository, on branch `main`.
31
31
8. Give the pull request a title in the following format:
32
32
33
33
```markdown
34
-
Homework week 1 <Your name>
34
+
Homework week 3 <Your name>
35
35
```
36
36
37
-
9. Submit the pull request from your forked repository branch into the `main` branch
37
+
9. Submit the pull request from your forked repository branch into the `main` branch.
38
38
39
39
If you have any questions or if something is not entirely clear ¯\\\_(ツ)\_/¯, please ask/comment on Slack!
40
+
41
+
Notes:
42
+
43
+
1. If you are in an AZC you may need to use HTTPS instead as the AZC may have blocked the network protocol used by SSH.
44
+
2. This first week for which you need to submit homework is week 3 of the JavaScript module.
0 commit comments