Below is a video taking you step-by-step through how to update the LIFS Research Blog on Github. The process seems complicated, but once you get used to it, it is very easy. The basic steps are:
- Fork the research blog repository into your account
- Clone the forked repository into your local computer
- Switch to the gh-pages branch (git checkout gh-pages)
- Move to the _posts directory
- Copy an older post as a template. Change the date and file name.
- Edit the post file with a text editor. Save.
- Commit the post to github. (git add .; git commit -m “new post”; git push)
- In github in your local repository, make sure you are on the gh-pages branch. Click “make pull request”
- Add a message to me saying what the pull request is about.
- DONE! I will check it within a few days. If everything is ok, I will merge it with our main site.