GitHub

This repository stores the completed versions of lessons from the Learn Eleventy tutorial course. Lesson archives are pushed to a rolling release.

Editing

To edit a lesson:

  1. Switch to the completed branch.
  2. Obtain the commit hash for the commit before the commit for the lesson you want to change. Run git rebase -i <commit-before-target>.
    1. To edit the setup commit (e.g. for the generate.yml GitHub Actions workflow), run git rebase -i --root.
  3. In the editor, change pick to edit for the target lesson commit.
  4. Make changes...
  5. When finished with your changes, run git add . and git commit --amend.
  6. Continue with the rebase with git rebase --continue.
  7. Force push to the branch (git push --force).

History

The previous repository history has been moved to the archived branch.

Read the original on github.com ↗