This repository stores the completed versions of lessons from the Learn Eleventy tutorial course. Lesson archives are pushed to a rolling release.
To edit a lesson:
- Switch to the
completedbranch. - Obtain the commit hash for the commit before the commit for the lesson you want to change. Run
git rebase -i <commit-before-target>.- To edit the setup commit (e.g. for the
generate.ymlGitHub Actions workflow), rungit rebase -i --root.
- To edit the setup commit (e.g. for the
- In the editor, change
picktoeditfor the target lesson commit. - Make changes...
- When finished with your changes, run
git add .andgit commit --amend. - Continue with the rebase with
git rebase --continue. - Force push to the branch (
git push --force).
The previous repository history has been moved to the archived branch.