Add in-browser commit to existing pull request?

Brian Baugh February 26, 2020

After editing a file in-browser, is there a way to add the commit to an existing pull request?  The in-browser editing is convenient for quick changes but at this point it seems that multiple quick changes (e.g. spelling change in both source and header) lead to isolated, one-file-at-a-time code reviews.

1 answer

1 accepted

1 vote
Answer accepted
Daniil Penkin
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2020

Hello @Brian Baugh,

You can add changes to a PR in-browser by navigating to the file you want to modify in the source browser with the PR source branch selected. So, in the example below if there was a PR from dpenkin/branch-pull-request to master, modifying the file when dpenkin/branch-pull-request branch is selected would add a commit with to that PR (note that you need to uncheck "Create PR for this change" checkbox when submitting a commit).

 intellij-bitbucket-references-plugin — Bitbucket 2020-02-27 08-58-13.png

 bitbucket-pipelines.yml — Bitbucket 2020-02-27 08-58-52.png

Unfortunately, only one file can be edited at a time when making in-browser commits at the moment.

Let me know if you have any questions.

Cheers,
Daniil

Brian Baugh February 26, 2020

Very good, I'll try it next time I'm in one of those situations.  Thanks!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events