简体   繁体   中英

What does git cherry-pick branch_name do?

What does git cherry-pick branch_name do?

Does it cherry-pick only the latest commit from the branch with the name branch_name onto my current branch, or does it cherry-pick a range of commits from that branch, and if so what range? Bonus question: in the latter case, how would I cherry-pick all commits from a given branch?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM