Is there any way to display changes that would be applied by the 'git cherry-pick ' before actually doing anything?
I would like to see a 'git diff' type of list of changes that would be done by the command without actually doing the changes or modifying anything.
git show
, used on an ordinary (single-parent) commit, shows the same diff thatgit cherry-pick
will attempt to apply to your current commit. So if you are thinking "I might like commita123456
, let me see what it does" you would rungit show a123456
to see what it does. Then you'd decide whether to attempt the cherry-pick. – Ocrea