Published October 1, 2008 | https://doi.org/10.59350/6h7hy-t8615

Cherry-picking commits from CDK trunk: how to make a reasonable commit message

Creators & Contributors

  • 1. ROR icon Wageningen University & Research

Some of you heard me complain about commit messages resulting from git cherry-pick which allows me to apply patches from CDK trunk to a branch, without needing to do a full merge of what happens in trunk. The commit messages would be identical, which made it seem that those original messages were mine.

However, this is how I can modify those messages:

$ git commit --amend

This allows me to convert a mere refactored a method into Applied patch from trunk (rev 12479): [shk3] refactored a method.

Additional details

Description

Some of you heard me complain about commit messages resulting from git cherry-pick which allows me to apply patches from CDK trunk to a branch, without needing to do a full merge of what happens in trunk. The commit messages would be identical, which made it seem that those original messages were mine.

Dates

Issued
2008-10-01T02:00:00
Updated
2008-10-01T02:00:00