Unlink commits/Files during creating a Pull request from One branch to other

56 Views Asked by At

There's a challenge!

I'm working on two projects (Project1 and Project2) within the same code repository (main branch). I've made changes to both projects and linked separate work items to each set of changes during my commits.

Now, I only want to push the changes for Project1 to a different branch (Target branch). However, when I create a pull request, it includes files from both projects.

Is there a way to leverage the linked work items during the push process to only push Project1 changes?

Any advice would be greatly appreciated!

I've tried using cherry-picking, but I'm curious if there's a way to achieve this directly through the linked work items.

0

There are 0 best solutions below