Hello Siddharth Joshi,
If my understanding is correct, you wanted to cherry-pick commits or selective publishing of resources from your feature branches to the collaboration branches.
If this is correct, cherry-picking is not allowed. However, on rare occasions when you need selective publishing, consider using a hotfix.
Please see the below document explained about the hotfix process.
Video tutorial: https://www.microsoft.com/videoplayer/embed/RE4I7fi
You can use Git collaboration feature to manage your pipelines from feature branches and control the changes that merge into the main branch.
In general, all development and testing work will be done on the feature branches and merged into the main branch when ready for deployment. When we publish the changes to the main branch, it will only affect the changes in the main branch and will not affect any changes in other feature branches.
You can create a pull request in the Git repository to merge from a feature branch to the main branch. This will allow you to review and approve the changes before they are merged into the main branch. You can also configure branch policies to enforce certain rules, such as requiring approval from a specific user or group before a pull request can be merged.
I hope this helps. Please let me know if you have any further questions.