When the commit has multiple files, and you just need one ... instead of
git cherry-pick HASH
use
git checkout HASH -- path/to/file
Source https://luisrangelc.medium.com/cherry-picking-a-specific-file-563c28f0db3c
When the commit has multiple files, and you just need one ... instead of
git cherry-pick HASH
use
git checkout HASH -- path/to/file
Source https://luisrangelc.medium.com/cherry-picking-a-specific-file-563c28f0db3c
Leave a Reply