- Craete a new branch with unique and identifieable name. E.g. if you work on chapter 02-01, create a new branch
02-01-xyzwithxyzyour name or the chapter name.- You can to this by clicking
masteron the home site of the repository or - using
git checkout -b 02-01-xyzin the terminal after cloning the repository.
- You can to this by clicking
- Work on the respective
.Rmdfile in the main directory. Also add code or figures as you like, but use a meaningful naming scheme so that there are not overlaps with other chapters. - Push your changes into your branch
- If you have finished editing your chapter and want to have the changes visible on the website do the following:
- Check locally that the book compiles! Do not hesitate to ask for help if you have troubles setting up
Randbookdown. - After checking if everything compiles nicely, create a pull request from your branch to the
masterbranch. - One of the supervisors will test the PR and merge it into the
masterbranch.
- Check locally that the book compiles! Do not hesitate to ask for help if you have troubles setting up
- To have a look at the basic
markdownediting see here. - There are a lot of free resources if you are not familiar with git. E.g. this free course or this tutorial.