I have a project called "projectname" with 2 repos: "repo1" and "repo2".
I have both repos open in Sourcetree and i can push and pull with IntelliJ without issues.
I want to make a pull-request from a branch in repo1 to a branch in repo2.
I expected to see both "projectname/repo1" and "projectname/repo2" in the "Source" and "Destination" dropdowns in the "Create pull request" page, but i can only see one.
If i visit the "Create pull request" page in repo1 i only see "projectname/repo1" in the dropdownw.
If i visit the "Create pull request" page in repo2 i only see "projectname/repo2" in the dropdowns.
Why can i not see both?
Why do i only get to see one repo from "projectname" at a time?
The "No more repositories" error is incorrect.
Thanks for reading.
Nvm. figured out how to do it using Sourcetree.
I had both repos open in Sourcetree, repo1 in tab1 and repo2 in tab2 of Sourectree.
While in tab1 (repo1) i went "Repository" --> "Add remote..." --> added both repo1 and repo2.
While in tab2 (repo2) i went "Repository" --> "Add remote..." --> added both repo1 and repo2.
Then i checked that the settings were correct using "Fetch" and checked the "Fetch from all remotes" in both tab1 (repo1) and tab2 (repo2).
Then, while in tab1 (repo1) where the branch i wanted to use as "Source" was, i used the "Repository" --> "Create pull request..." and used repo2 as "Submit via remote", the branch i wanted to use as "Source" in "Local branch" and the new branch in repo2 as "Remote branch" like this:
And then i could make a PR in Bitbucket like this:
Can we get an official guide on how to do this, if this is how you are supposed to create pull-requests between repos in the same project? 🤓
Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events