JavaScript prework – exercises
How do we do the exercises and submit our work?
Do the following steps:
- Fork the repository containing exercises.
- Clone the repository onto your computer using the command:
git clone repository_address
. You will find the address of the repository by pressing "Clone or download" button on its webpage. - Complete the exercises and commit changes to your repository using the commands below.
git add filename
will add a single file which you have changed. If you want to add all the changed files at once, usegit add .
. Remember that the fullstop (dot) at the end of this command is important! Next, commit changes usinggit commit -m "description_of_changes"
. - Push changes to your repository on GitHub by typing:
git push origin master
. - Create a pull request to the original repository when you have finished all the exercises.