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
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -10,26 +10,26 @@ Follow the walkthrough to learn how to submit your homework for each week:
10
10
11
11
ONE TIME ONLY (START OF EVERY MODULE)
12
12
13
-
1. Create a [fork](https://help.github.com/en/articles/fork-a-repo) of the teacher's forked repository (ask in Slack what the URL for it is). You do this by using the `fork` option on the top right
14
-
2. Navigate to the URL of the cloned repository (it should be in your personal GitHub account, under "repositories")
13
+
1. Create a [fork](https://help.github.com/en/articles/fork-a-repo) of the following repository: [HackYourHomework/JavaScript2](https://www.github.com/hackyourhomework/javascript2). You do this by using the `fork` option on the top right
14
+
2. Navigate to the URL of the forked repository (it should be in your personal GitHub account, under "repositories", under the name `<YOUR_GITHUB_ACCOUNTNAME>/JavaScript2`)
15
15
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
16
16
4. On your local machine, navigate to the folder using the command line
17
-
5. Make sure you've cloned it correctly by running `git status` from the command line.
17
+
5. Make sure you've cloned it correctly by running `git status`and `git remote -v`from the command line
18
18
19
19
EVERY WEEK
20
20
21
21
1. Create a new branch for each week you have homework. For example, for the week 1 homework for JavaScript2 create a branch called `week-1-homework-YOUR_NAME`
22
-
2. Inside the correct week folder, create another folder called `homework`. Make your homework files in there, while on the correct branch
23
-
3. Once you're finished, add and commit everything. Make the commit message meaningful, for example `finished project for homework week1`
24
-
4. Push the branch to your forked repository
25
-
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
22
+
2. Inside the week folder, create another folder called `homework`. Create your homework files in there, while on the correct branch
23
+
3. Once you're finished, `add` and `commit` everything. Make the commit message meaningful, for example `finished project for homework week1`
24
+
4. Push the branch to your forked repository (`<YOUR_GITHUB_ACCOUNTNAME>/JavaScript2`)
25
+
5. On the GitHub page of this repository, click on the `create pull request` button. Make sure the `base repository` is your teacher's repository, on branch master
26
26
6. Give the pull request a title in the following format:
27
27
28
28
```markdown
29
29
Homework week 1 <Your name>
30
30
```
31
31
32
-
7. Submit the pull request from your forked repository branch into the `master` branch
32
+
7. Submit the pull request from your forked repository branch into the `master` branch of the original repository (`HackYourHomework/JavaScript2`)
33
33
8. Do a little victory dance because you did it! Good job!
34
34
35
35
For a visual walkthrough the steps please watch the following video one of our teachers, Unmesh Joshi, has made:
0 commit comments