When I cherry-picked a commit from a different branch, it lost the original commit author and replaced it with me. I tried to fix this by editing the commit message and adding Co-authored-by: Name <email> to the end of the commit message, but it seemed to strip the extra line breaks and did not attribute the commit to the author that I specified.
When I cherry-picked a commit from a different branch, it lost the original commit author and replaced it with me. I tried to fix this by editing the commit message and adding
Co-authored-by: Name <email>
to the end of the commit message, but it seemed to strip the extra line breaks and did not attribute the commit to the author that I specified.