Use git cherry-pick to get only the modified part of each commit

git cherry-pick [commit]

Get the modified part of the file submitted by this commit and pull it to the local. You can do not care about other code at the time of submission, just pull the files modified or added in this submission.
Generally used when the branch is chaotic, or when developing on the same branch, the later development needs to be released first, and the middle development part needs to be omitted.

Published 60 original articles · 25 praises · 10,000+ views

Guess you like

Origin blog.csdn.net/qq_41466437/article/details/105050581