Skip to content

[Exercise 1] LucilleLiu23 - First Pull Request #196

Closed

Description

@LucilleLiu23

开始前确认

  • 我已 Fork、clone,并确认 origin 指向自己的 Fork、upstream 指向课程原仓库。
  • 我会使用机器人提供的 topic branch,不直接在 main/master 上练习。
  • 我知道红灯应在原 PR 中修复,不会通过新建多个 PR 碰运气。

本关目标

已经完成了基础的 GitHub Fork、Clone、Branch、Commit、Push 和 Pull Request 练习,希望通过这一关进一步理解 Issue、上游仓库(upstream)、分支协作和 Pull Request 之间的关系,掌握从指定分支开展开发、提交修改以及根据自动化检查结果修复问题的完整流程。

Activity

  1. added
    exercise:1
    on Oct 29, 2026
  2. added
    session:active
    on Oct 29, 2026
  3. github-actions commented on Oct 29, 2026

    @github-actions

    练习 1:第一次 Pull Request 已准备好

    先阅读本关教程,再执行下面的命令。教程会解释每条命令的作用和预期输出。

    你的专属上游分支是 practice/ex1/issue-196-LucilleLiu23。请在本地执行:

    git remote add upstream https://github.com/lin594/code-contributing-practice.git  # 已添加过 upstream 时跳过
    git fetch upstream practice/ex1/issue-196-LucilleLiu23
    git switch -c exercise/1-196 upstream/practice/ex1/issue-196-LucilleLiu23

    只修改 .practice/workspace.md,完成后 commit 并 push 到你 Fork 中的同名分支。 然后创建 Pull Request,确认 base 是 practice/ex1/issue-196-LucilleLiu23,并在正文保留 Closes #196。

    练习 PR 合入临时分支,因此 Issue 的关闭由训练机器人代替 GitHub 完成;在真实开源仓库的默认分支 PR 中,同样的 Closes 写法会原生关联并关闭 Issue。

  4. github-actions commented on Oct 30, 2026

    @github-actions

    🎉 练习 1 完成

    PR #200 已合并,专属训练分支已清理。 现在可以开始练习 2。

  5. added
    session:completed
    and removed
    session:active
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

exercise:1session:completed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions