Discussion on: My Personal Git Tricks Cheatsheet

vishnuharidas profile image
Vishnu Haridas

I am afraid to do git cherry-pick without the -n parameter because cherry-picking automatically commits after picking the changes. Most of the time I want to review the changes and commit them manually. So I do:

git cherry-pick -n HASH
antjanus profile image
Antonin Januska Author

ooh, i wasn't aware of the dry run. I tend to not care because I can always do an interactive rebase and delete those commits.