git cherry-pick

How to cherry-pick a library fix?

Iโ€™ve done this so many times, but every time I do it with hesitance. Itโ€™s usually because Iโ€™m not certain Iโ€™m finding the right commit or if Iโ€™m applying it the right way. These steps explain the process and how to validate that youโ€™re doing thins the right way. Find out the library version that your release is using. Check out that version of your library. Create a new branch off that version. Find the SHA of the commits you want to cherry pick. Cherry pick them in and validate youโ€™ve cherr-picked correctly. Make a new release/tag. Go back to your main app. Check out the release branch again. Create a new release version Update your Podfile (or whatever it is that youโ€™re using) to pull the updated version. All the steps together ...