I am far from being a Git expert but I end up on this page a lot:
https://ariejan.net/2009/10/26/how-to-create-and-apply-a-patch-with-git/

Joe

On Sun, Jul 17, 2016 at 12:40 PM, Ellison Anne Williams
<[email protected]> wrote:
> My fault completely - I forgot to include the '--author' option in the
> commits when closing pull requests. Will do this from now on...
>
> Thanks for catching it Suneel!
>
> On Sun, Jul 17, 2016 at 12:34 PM, Suneel Marthi <[email protected]> wrote:
>
>> I am seeing that the original author of a PR is being wiped out while
>> committing the PRs to the codebase.
>>
>> The 'git commit' command to retain the original author as contributor is:
>>
>> git commit --author <contributor_email> -a -m "PIRK-XXXX description
>> closes apache/pirk#ZZ"
>>
>>
>> This way the original author would show up amongst the project contributors
>> on github (and build community 😏 )
>>

Reply via email to