本文介绍了如何修改Github拉请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我向一个项目打开了拉取请求。维护者决定接受它,但告诉我修改一些内容。
我该怎么做?是否我应该保持提交哈希不变,我该怎么做? 只是推送更多的提交到分支的请求是为了。例如:
如果你想让b合并到master
- 您将c1,c2,c3推送至b
- ,然后对b
- 它会被审核并且您需要更多提交
- 您将c11,c21,c31推送到b
- 请求现在显示所有6个提交
I've opened a pull request to a project. The maintainer has decided to accept it, but told me to modify some contents.
How can I do it? Whether I should keep the commit hash unchanged, how can I do it?
解决方案
just push more commits on to the branch the request is for. The pull request will pick this up then
Example:
If you want to have b merged into master
- You push c1,c2,c3 to b
- then you make a new request for b
- it gets reviewed and you need more commits
- You push c11,c21,c31 to b
- The pull request now shows all 6 six commits
这篇关于如何修改Github拉请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!