Drupal

Receiving Git Attribution for Your Drupal.org Patches

If you contribute patches to the Drupal issue queues, you often spend a lot of time and hard work getting that patch through the review process.


Filed under:

If you contribute patches to the Drupal issue queues, you often spend a lot of time and hard work getting that patch through the review process. Even though we do it for the good of the community, once it is all said and done, it's nice to get a little acknowledgement. While there is a page for module maintainers on how to properly attribute contributions to users, not all maintainers know about that, and it can often mean they have to spend a little extra time figuring out what your Drupal.org git email address is. But there is a quick way for us as patch contributors to make that easier for them.

Once you clone a contrib module repo, you should set the user.name and user.email for that repo and then use git format-patch when creating your patch.

git config --local user.name jojonaloha
git config --local user.email jojonaloha@1579186.no-reply.drupal.org

If you want to use these by default you can use the --global flag instead.

Similar posts

Get notified on new marketing insights

Be the first to know about new B2B SaaS Marketing insights to build or refine your marketing function with the tools and knowledge of today’s industry.