Git Cherry-pick just one file

By.

min read

My profile

Share this:

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

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *