Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Exclude Files on a Pull Request on Azure DevOps

We are using Azure DevOps Repo as our code repository and there are 3 branches on there. They are Dev, UAT and master. When a developer needs to work on a feature, he/she creates a feature branch from Dev and then work on the feature branch. Once the development is completed, they merge the changes from the feature branch with Dev by creating a Pull Request. When the changes are ready for testing, we will merge Dev branch with UAT branch. At this time, we need to exclude some features, and we don't need to merge those into UAT. So, my question is how to do it on Azure DevOps Repo?

like image 812
Rasika H Avatar asked Aug 15 '26 03:08

Rasika H


1 Answers

You can not do that. In this case, you need to change your merge strategy from feature->Dev->Uat->master to feature->Dev;feature->Uat;feature->master. However, this way is too complex to support and manage which features were merged and which were not.

like image 198
Shamrai Aleksander Avatar answered Aug 18 '26 12:08

Shamrai Aleksander



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!