Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/codespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@

![](./img/codespace/edit.png)

编辑完成后,按 `Ctrl+S` 保存文件,并通过预览检查内容和排版。保存只会更新当前 Codespace 中的文件,还需要按照下一步完成“提交”和“同步更改”,才能将修改上传到个人 GitHub 仓库。

**4. 提交修改**

点击左侧分叉图标的“源代码管理”,弹出提交页面。
Expand All @@ -54,7 +56,7 @@

![](./img/codespace/commits_ahead.png)

在 Actions 页面也会自动出现编译成功的绿色提示
提交并同步后,进入个人仓库的 Actions 页面,查看对应本次提交的运行记录。黄色表示任务尚未完成,绿色勾表示成功,红色叉表示失败。如果运行失败,点击该记录,进入失败的任务并展开报错步骤,根据日志中的具体错误排查。

![](./img/codespace/workflow_runs.png)

Expand Down Expand Up @@ -86,6 +88,8 @@

![](./img/codespace/pages_display.png)

如果 Pull Request 尚未合并且保持打开状态,收到审核意见后,应在创建该请求时使用的分支上继续修改,完成提交并同步。新的提交会自动追加到原 Pull Request,无需重复创建。同步后可在原请求的 Commits 中确认提交记录,并在 Files changed 中检查最终修改内容。




Expand Down