If you want to put a manual on the Q-ForestLab GitHub follow the steps explained in this manual.
Have all of your manual files/folders in one main folder. Look at the manuals that are already on the GitHub to see examples of good folder structures.
Make sure that within this folder there is a README.md file with the explanation of your manual. You can make this file easily in a text editor such as Visual Studio Code:
- Open Visual Studio Code and go to File.
- Click on New File....
- Type README.md and press enter.
- Save this file in your main manual folder.
- Within this README file you provide information on the manual. If you're not used to writing ".md" files, this cheat sheet might help:
Make sure you have installed Git on your pc and that you have a GitHub account which is linked to the Q-ForestLab GitHub (ask Wout(er) to add your GitHub account to the Q-ForestLab GitHub if this is not the case).
-
Open Git Bash in your manual folder. You can do this by navigating to your manual folder in file explorer, right-clicking, and clicking on Open Git Bash here.

-
type
git initto initate a git repo in this folder. -
type
git add --allto stage all changes in your working directory for the next commit. -
type
git commit -m "First commit"to commit all the files.
- Go to the Q-ForestLab GitHub while logged into your own GitHub and navigate to repositories and click on New repository.
- Choose a good name for your manual. Preferrably use the same style as previous manuals with all lower case letters and "-" in between the words.
- Write a short description of your manual.
- Put the repo Public (or Private if there is a reason for it).
- Click Create repository.
- Now you copy the code under "…or push an existing repository from the command line" and run it in Git Bash to push your repo to GitHub.
Your local repo is now linked to a repo on the Q-ForestLab GitHub.
When you make changes to the manual locally you will have to stage, commit and push them to the GitHub repo to see the changes online:
In Git Bash:
- type
git add --allto stage all changes in your working directory for the next commit. - type
git commit -m "message about your commit"to commit all the staged changes. - type
git push -u origin mainto push the commit to the GitHub repo.
For more info check out some git and GitHub tutorials online.
Github has really nice tutorials to try out yourself, for example: https://docs.github.com/en/get-started/start-your-journey/hello-world. If you really want to get familiar with how the git system works, here is an interactive tutorial to learn the commands, or a full free game using git commands.




