Best practices for cherry picking changes into Production Branch?

Copper Contributor

Hi All,


I am trying to determine the best way to cherry pick individual files and merge them into the Main branch where the production code lives.


It seems that cherry picking through the Azure DevOps UI can only cherry pick changes that are contained in a single commit.


What if I want to go more granular than a commit, and just chose specific files to go into main? 


I could not find a way to accomplish this through Azure Dev Ops UI, and we were able to accomplish this by creating an intermediate branch of main, and manually adding the files into the intermediate branch, then pushing those changes into main.


I think there has to be a better way than this, i.e an extension or third-party tool, where I can simply select the files I want to cherry pick out.


Does this exist anywhere?


How is everyone else doing this?

0 Replies