简体   繁体   中英

How to update a pull request on bitbucket?

How do you update one of your own pull requests on bitbucket in your IDE on your local computer?

This workflow does not work as i expected:

  1. Clone your fork
  2. Checkout the branch you used for the pull request
  3. Make changes
  4. git add.
  5. git commit
  6. Push commit (to your fork repository)

So far so good but it seems that the pull request is not updated automatically as soon as the branch (on which the pull request is based) is updated.

Question: is there a way to let pull requests be updated (autoatically/manually) as soon as the branch (on which the pull requests is based) is updated?

Seems to me you asked a bit early.

http://blog.bitbucket.org/2014/04/22/bitbucket-now-auto-updates-pull-requests/

After updating my local branch and push, Bitbucket updated the pull-request automatically.

我向 PR 推送了一个新的提交,然后 bitbucket 识别了最新的代码。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM