Is it possible to prevent forked repos defaulting their pull requests pointing to the original?

I'm working on a project that will soon require a lot of separate repos all based off of an initial structure. I've already made a "base" repo with the correct structure and tools and now I simply need to fork it, add in the new repo-specific development. I can then simply pull from the upstream repo to update tools and such.

The issue is with Pull Requests. On this forked repo, when I create a pull request, it defaults the repo to the original repo and not this new repo. How do I either have this default to the new repo or how do I stop the original repo from accepting PRs from forks?

1 answer

0 vote

 

Hi Jake! I found a similar question in Community which I think can help you, I'd recommend having a look at the responses from Roger Barnes on this thread When creating a Pull Request in a Fork...

There's also a Feature request you might be interested in, you can find it at  Make it possible to configure default destination. You can vote for it to increase its popularity, leave a comment or watch it to receive updates.

Hope that helps!

Ana

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,768 views 1 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you