git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Question about pull-requests

From
Ffhaehnel <fhaehnel@atlassian.com>
Date
Feb 23, 2016, 02:58 UTC
Message-ID
<1456196315828-7648733.post@n2.nabble.com>
In-Reply-To
<CAOh0v-WW=hOXw=uTdzkd3afzXCguBHWdaDShwKE3QKqUCOBTzg@mail.gmail.com>

From your message I’m guessing you are using Bitbucket Server with branch permissions [1]. We’re aware the conflict resolution instructions can not always be followed. Improving these is on our backlog (https://jira.atlassian.com/browse/BSERV-7561) - feel free to watch/vote for that issue.

First, let’s start with the most basic case: a pull request you created is conflicted and can’t be merged. Here, you can apply Jeff King’s solution and back-merge the target branch. Alternatively, you can, of course, rebase the branch too. (Check out https://www.atlassian.com/git/tutorials/merging-vs-rebasing for more info on which option to pick and when).

If you are using cascading merges [2] in Bitbucket Server, there’s a chance of conflicts during the merge-cascade, which will generate “Automatic merge failures”. If this happens, Bitbucket will create a new pull request on your behalf. The same strategy as above can be applied: merge the target branch and resolve the conflicts, or rebase.

[1] https://confluence.atlassian.com/bitbucketserver/using-branch-permissions-776639807.html [2] https://confluence.atlassian.com/bitbucketserver/automatic-branch-merging-776639993.html

- Felix

-- View this message in context: http://git.661346.n2.nabble.com/Question-about-pull-requests-tp7648649p7648733.html Sent from the git mailing list archive at Nabble.com.

Previous: Jeff King
Message 4 of 4 in “Question about pull-requests”
  1. Nagaraj MandyaFeb 22, 2016
  2. Kevin DaudtFeb 22, 2016
  3. Jeff KingFeb 22, 2016
  4. fhaehnelFeb 23, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.