We had 4 separate repositories. Dev, QA, UAT and Prod.
Now we need to add another repo between UAT and Prod. Which will be pulling changes from UAT.
Therefore, I forked UAT and created new repo called Preprod.
But when i try to create a pull request from UAT, I can't select Prepod. How do i achieve my requirement ?
Hi Chaminga, welcome to the Community!
When you're working with forks, you create the pull requests from the forked repository back to the original, but not the other way around. If you want to keep your workflow as you explained you'll need to make some changes, for example rename UAT as Preprod, then make a fork from Prepod that will be called UAT, this way you'll be able to pull changes from UAT to Preprod (Preprod will be the "original" and UAT will be the fork). You can read more about this at Forking a repository and Forking workflow.
Let us know if this helped!
Kind regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.