Nickool
Nickool

Reputation: 3702

cannot cherry-pick a commit that needs an edit

I can cherry-pick a commit without issues, however I need to edit the commit message , here is the command I used with error that I get.

$ git cherry-pick 05f8ab05be965ed05c6drtad237a0oi6f607b71c -e "ticket-548 My cars Module"
fatal: bad revision 'SCOS-818 My cars Module'

Upvotes: 1

Views: 308

Answers (1)

Laurent
Laurent

Reputation: 14401

A simple git commit --amend after your cherry-pick will allow you to change the commit message.

Upvotes: 1

Related Questions