Welcome to this homework for our MOOC: Let's Git! We hope you will learn a lot and have fun working on it.
In this homework, you will create a website about your favourite character from a movie or a book. To start the task, simply follow these steps:
- Use this repository as a template for a new repository by clicking "Use this template" to create the same repository in your repositories. When creating the repository, name it like this: "<your github name>.github.io". For example, if your username was sanjsp, the repository should be called
sanjsp.github.io
. Other than that the repository should be public. Nothing else needs to be changed. Click on "Create repository from template" to create the repository. - Give the newly created repository a star.
- Clone your repository to your computer. To do this, go to "Clone or download" directly above the code files and copy the link of the repository. Then open Git Bash or your terminal, run the command
git clone (URL of the repository)
. My command would look like thisgit clone https://github.com/SanJSp/sanjsp.github.io.git
- Open the website of the repository by visiting <your GitHub name>.github.io in your browser.
- New issues will appear in your repository over time. Work on them and follow the steps indicated in the issues. Sometimes it can take a while (max. 5 minutes) to create the issues.
The website changes every time a pull request is made but it will only show the version of the website on the master branch, so changes on other branches will not be visible on the website. If you want to see the changes you have made to your feature branch, look on GitHub at the index.md file in your repository on your feature branch (switch branches in the top left corner). The markdown is automatically generated there and you can see what did not work like you wanted it to.
Have fun and good luck with this exercise!