1 Background
If you missed more than two course sessions, you are asked to complete an additional assignment. This additional assignment builds on the contents of previous course sessions and is (roughly) the equivalent of what you would complete in a regular course session. If you need help, please consult the relevant chapters in the Version Control Book (in particular the chapter on GitHub). While the assignment covers many aspects of our course, it’s not an exam. So please get in touch if you are getting stuck or have any questions about the assignment or the course contents.
Submission Deadline: Friday, Feb 2nd, 2024
2 Assignment
2.1 Editing content on GitHub
2.1.1 Create a README.md
file
If you did not create a README.md
file in your recipes
repository already:
- Go to your
recipes
repository’s main page and click on “Add a README”. - Use Markdown syntax and add the most important facts about the repository.
- Click on “Commit changes” and write a relevant commit message.
2.1.2 Clean up your recipes
repository
If you have unnecessary files in your recipes
repository:
- Click on the file you want to delete and choose “Delete file”.
- Commit the change and choose a commit message.
- Pull the changes to your local repository (i.e., to your computer).
You complete this assignment by sending a link to your recipes
repository to Lennart.
2.2 Forking
- Find out what forking is.
- Fork Lennart’s recipes repository.
- Create an issue in Lennart’s repository (maybe the repo is missing a great recipe?).
- Clone the forked repository to your computer.
- Create a new branch and make one or multiple commits, “fixing” the issue.
- Push your changes to GitHub.
- Create a pull request with your changes (hint: from the forked to the original repository) and refer to the issue.
You complete this assignment by sending a pull request to Lennart’s recipes
repository from a fork.
Hint: Check out Matteo’s contribution to Lennart’s recipes
repository for a similar procedure.