← Your first PRlesson 8 of 9

  1. ✓ set up
  2. ✓ pick data
  3. ✓ find source
  4. ✓ place it
  5. ✓ model
  6. ✓ YAML
  7. ✓ build
  8. PR
  9. merge

Open the PR

Time for the git loop from the essentials course — for real this time. You should still be on the feature branch you created before editing any project files. Confirm that before staging anything:

git status

You should see: your .sql and .yml listed as untracked/modified — and nothing else. If generated source files from earlier are listed, they belong in this PR too. Anything you don't recognise: don't stage it.

If status says On branch main, create your feature branch now with git switch -c feat/opening-hours-staging; your uncommitted changes will move with you. Do not pull until those changes are safely on a branch.

git add models/staging/shared/stg_reference_opening_hours.sql
git add models/staging/shared/stg_reference_opening_hours.yml
git commit -m "feat: add opening hours staging model"
git push

step 1 of 3