如何更新分叉回购的请求? [英] How to update a pull request from forked repo?

查看:91
本文介绍了如何更新分叉回购的请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,我首先制定了回购协议,然后对该分销回购做出了承诺。然后我打开了一个拉请求。拉取请求列出了我想要的所有更改。



在回顾我的拉取请求之后,回购所有者希望我在接受之前进行了一些更改。我已经在我的fork中做了这些修改,现在我该如何更新这些更改的pull请求(或者这不是我应该如何处理它)? 解决方案

你已经做对了。拉取请求将自动更新。这个过程是:
$ b


  1. 打开拉取请求

  2. 根据您本地回购中的反馈提交更改

  3. 推送至您的分支的相关分支

该请求将自动添加新的提交在拉请求讨论的底部(即,已经存在,向下滚动!


So I first forked a repo and then made a commit to that forked repo. I then opened a pull request. The pull request listed all the changes I wanted.

After reviewing my pull request, there were a number of changes that the repo owner wanted me to make before he accepted it. I have made those changes in my fork, now how do I update the pull request with those changes (or is this not how I should handle it)?

解决方案

You have done it correctly. The pull request will automatically update. The process is:

  1. Open pull request
  2. Commit changes based on feedback in your local repo
  3. Push to the relevant branch of your fork

The pull request will automatically add the new commits at the bottom of the pull request discussion (ie, it's already there, scroll down!)

这篇关于如何更新分叉回购的请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆