full-day workshop: Add the missing commit step before creating the feature pull request

Đang mở Phù hợp với người mới
#267 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
88/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
git, github
Lĩnh vực
documentation

Hướng nghiên cứu

Mở content/full-day/7-github-flow.md và làm theo trình tự workshop xoay quanh add-filter, Generate Commit Message, git push và gh pr create. Thêm các hướng dẫn còn thiếu để commit và xác minh, ताकि một lần chạy mới xác nhận rằng commit tính năng đứng trước main, push commit đó và tạo pull request thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

priority: P0

Problem

In content/full-day/7-github-flow.md, learners create add-filter, run git add ., select Generate Commit Message, press Enter, and then run git push -u origin add-filter. No git commit command or Source Control commit action is provided.

Generating a commit message does not itself create a commit. The branch therefore has no commits ahead of main, and gh pr create can fail because there are no commits between the branches. This blocks the pull-request portion of the workshop.

Suggested change

Add an explicit commit action after generating the message, and verify the branch is ahead of main before pushing and opening the PR.

Acceptance criteria

  • Learners are told exactly where the generated message appears.
  • An explicit CLI or Source Control commit step is included.
  • The instructions verify the feature commit exists on add-filter.
  • git push publishes the feature commit.
  • gh pr create succeeds from a fresh workshop run.
Ngôn ngữ chính
Python
Star
80
Fork
161
Merge trung bình
31 phút
Pull request đã merge (30 ngày)
1

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github-samples/pets-workshop

Tất cả issue của github-samples/pets-workshop

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.