full-day workshop: Add the missing commit step before creating the feature pull request
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ả
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 pushpublishes the feature commit. -
gh pr createsucceeds 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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github-samples/pets-workshop
-
priority: P0
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 78/100
github-samples/pets-workshop#268 · 1 bình luận ·
-
priority: P1
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 92/100
github-samples/pets-workshop#261 · 1 bình luận ·
-
priority: P1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
github-samples/pets-workshop#257 · 1 bình luận ·
-
priority: deferred
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
github-samples/pets-workshop#278 · 1 bình luận ·
-
priority: deferred
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
github-samples/pets-workshop#277 · 1 bình luận ·
Tất cả issue của github-samples/pets-workshop
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
zostera/django-bootstrap4#894 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
use-agent-os/agent-os#3276 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
NousResearch/hermes-agent#117848 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
zilliztech/memsearch#759 ·