pr
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePut up a pull request
提交 pull request
Create the pull request with .
Push the branch first if it has no remote.
gh pr createWrite the description for a human who has not seen the work.
Say what changed and why it changed.
Keep it short: no unnecessary verbiage, and no rambling.
Leave out the things the diff already says.
A file list, a restatement of every commit message, and a summary of your own process all cost the reader attention and give nothing back.
If the change is hard to review in one pass, say where to start reading.
That is worth more than any amount of summary.
使用 创建 pull request。
如果分支尚未关联远程分支,先推送该分支。
gh pr create为不了解相关工作背景的人编写描述。
说明变更内容及变更原因。
保持简洁:不要有不必要的冗余表述,也不要东拉西扯。
省略 diff 已经能体现的内容。
文件列表、逐条复述 commit 信息、以及你个人的操作过程总结,这些都会消耗读者的注意力,却毫无价值。
如果变更难以一次性完成评审,请说明从哪里开始阅读。
这比任何形式的总结都更有价值。