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
+10-8Lines changed: 10 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,21 +17,23 @@ ONE TIME ONLY (START OF EVERY MODULE)
17
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
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
+
6. This homework repository is a little special, have a look through the README how it all works!
20
21
21
22
EVERY WEEK
22
23
23
-
1. 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`
24
-
2. Inside the correct week folder, create another folder called `homework`. Make your homework files in there, while on the correct branch
25
-
3. Once you're finished, add and commit everything. Make the commit message meaningful, for example `finished project for homework week1`
26
-
4. Push the branch to your forked repository
27
-
5. 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
-
6. Give the pull request a title in the following format:
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.
26
+
3. Make your homework!
27
+
4. Once you're finished, add your homework to a commit. Make sure you *only* commit your homework files and nothing else. You can use `git add -p` if you only want to add a couple files. You can always check what is happening with the `git status` command (as one of our mentors always says, it is the console.log of git!).
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
31
+
8. Give the pull request a title in the following format:
29
32
30
33
```markdown
31
34
Homework week 1 <Your name>
32
35
```
33
36
34
-
7. Submit the pull request from your forked repository branch into the `master` branch
35
-
8. Do a little victory dance because you did it! Good job!
37
+
7. Submit the pull request from your forked repository branch into the `main` branch
36
38
37
39
If you have any questions or if something is not entirely clear ¯\\\_(ツ)\_/¯, please ask/comment on Slack!
0 commit comments