> For the complete documentation index, see [llms.txt](https://github.highlight.ink/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://github.highlight.ink/github-flow/merge.md).

# 合并

![](/files/-LezYa5sKRPCguorY6Zr)

## 合并

现在你的更改已在生产中得到验证，现在是时候将代码合并到 `master` 分支中了。

一旦被合并后，拉取请求会保留代码更改的历史记录。因为它们是可搜索的，所以任何人都可以及时回头了解决策的原因和方式。

### **高级技巧**

通过将某些关键字组织到拉取请求的文本中，你可以将 issues 与代码关联起来。合并拉取请求后，相关问题也将关闭。例如，输入短语 `Closes #32` 将关闭仓库中的第 32 个 issue。更多信息，请查看我们的[帮助文档](https://help.github.com/articles/closing-issues-using-keywords/)。
