I want to bring (like cherrypick) a change but I don't want to record commit message and/or change-id. Is there any way to do so?
My command from a gerrit site for cherrypick the change looks as follows, which I ran in my project repository:
git fetch ssh://review-androidsite.com:20000/xyz/project refs/changes/17/3442417/2 && git cherry-pick FETCH_HEAD
If you want to have the modifications on your disk, but not committed, use -n | --no-commit
:
git cherry-pick -n FETCH_HEAD