we have created feature branch it has 10 files and 1 folder.
and we have created one test branch and which is empty, now I want to bring only that one folder from feature branch to this test branch
is it possible? If yes please tell me how we can achieve this?
Please help
Hi, @Shyam, thank you for reaching out to Atlassian Community.
If you don’t want to merge the entire feature branch to your test branch, I recommend that you use the git cherry-pick command. This is the act of picking a commit from a branch and applying it to another.
In this case, you could run the command git log to find those commits and cherry-pick them to your test branch. After you find the commits you want, you can run the following command to add them to your test branch:
git cherry-pick {commitSha}
You can find more details about git cherry-pick in our Git tutorial here:
Feel free to share any additional questions or concerns regarding this case.
Kind regards,
Caroline
Hi Carlone,
Thank you for the response.
Can u please assist on below query also
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.