In this module you'll submit your assignments only using GIT and GitHub.
Watch the video (by clicking the image) or go through the following walk-through to learn how to submit your assignments:
ONE TIME ONLY (START OF EVERY MODULE)
This module is slightly different as you have already done the one time setup for the assignments repo in the previous module. We will be using the same fork as we used there (https://www.github.com/HackYourAssignment/Assignments-classXX
).
EVERY WEEK
- Do a
git pull
on your main branch to get the latest version. - Create a new branch for each week you have assignments. For example, for the week 1 assignments for Using API's create a branch called
YOUR_NAME-w1-UsingAPIs
. Don't forget to checkout this branch after creating it. - Make your assignments!
- Once you're finished, add your assignments to a commit. There will be some test and config files added by the test runner, this is expected and should be added!
- Create the commit (
git commit
). Make the commit message meaningful, for examplefinished project for assignments week1
. - Push the branch to your forked repository
- On the GitHub page of your forked repository, click on the
create pull request
button. Make sure thebase repository
is your teacher's repository, on branch master - Give the pull request a title in the following format:
Assignments week 1 <Your name>
- Submit the pull request from your forked repository branch into the
main
branch
If you have any questions or if something is not entirely clear ¯\_(ツ)_/¯, please ask/comment on Slack!