【发布时间】:2015-01-28 06:10:22
【问题描述】:
大部分时间在 repos 中,我们看到一个 PR,然后是该 PR 的合并提交,它只是说“Merged pull request #XXX from ...”。
但最近,我看到了一个压缩版本,其中拉取请求者和提交者的头像重叠,only one clean commit 出现在历史记录中:
如何做到这一点?
我尝试过但不起作用的方法:
- deleting the branch after the PR is accepted (PR #755)
- deleting the repo after the PR is accepted(公关#78)
更新
one of my PRs 以这种方式合并时的外观示例:
结果:
【问题讨论】:
标签: git github commit pull-request