Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,473
Community Members
 
Community Events
176
Community Groups

Bring only one specific folder and file from one branch to another branch, is it possible?

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 

1 answer

0 votes
Caroline R Atlassian Team Feb 23, 2022

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 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events