• Home
  • >
  • Software Development
  • >
  • GitHub Adds Crediting for Multiple Co-Authors on a Single Commit – InApps Technology 2022

GitHub Adds Crediting for Multiple Co-Authors on a Single Commit – InApps Technology is an article under the topic Software Development Many of you are most interested in today !! Today, let’s InApps.net learn GitHub Adds Crediting for Multiple Co-Authors on a Single Commit – InApps Technology in today’s post !

Read more about GitHub Adds Crediting for Multiple Co-Authors on a Single Commit – InApps Technology at Wikipedia



You can find content about GitHub Adds Crediting for Multiple Co-Authors on a Single Commit – InApps Technology from the Wikipedia website

In dev life there few things as satisfying as filling in those little green squares on your GitHub contribution graph. When working on a team project, though, sometimes that little green square gets credited as someone else’s commit even if several people contributed equally to the work.

As of today, though, GitHub now supports multiple commit authors. In a world of ever more thorough code reviews of ever more complex — and collaborative — open source projects, it is now possible to see exactly how many fingers contributed to any particular piece of the pie (and exactly who those fingers belonged to).

Now, developers can easily see who has contributed to every commit — regardless of how many contributors there are. And every contributor gets attribution, both in the pull request and in their contribution graph.

It’s dead easy to do, too. It starts with the usual commit message. Then, to add co-contributors to any commit, just create one line of white space — this lets GH know more is coming, commit-wise — and then add one or more “co-authored-by” trailers to the end of the commit message. The format is “Co-authored-by Full Name <[email protected]>”. The only catch is that the included email for each co-author must be the one associated with their GitHub account for the attribution to work.

Read More:   Nestjs Typeorm Graphql Dataloader tutorial with Typescript

The new commit and all its co-authors will appear on GH the next time you push. That’s all it takes! Now let the credits roll…

Pro tip: It can be surprisingly tricky to track down a GH-associated email address. You can help a co-author find their preferred email address by sharing this information:

  • To find your GitHub-provided no-reply email, navigate to your email settings page under “Keep my email address private.”
  • To find the email you used to configure Git on your computer, run git config user.email on the command line.



Source: InApps.net

Rate this post
As a Senior Tech Enthusiast, I bring a decade of experience to the realm of tech writing, blending deep industry knowledge with a passion for storytelling. With expertise in software development to emerging tech trends like AI and IoT—my articles not only inform but also inspire. My journey in tech writing has been marked by a commitment to accuracy, clarity, and engaging storytelling, making me a trusted voice in the tech community.

Let’s create the next big thing together!

Coming together is a beginning. Keeping together is progress. Working together is success.

Let’s talk

Get a custom Proposal

Please fill in your information and your need to get a suitable solution.

    You need to enter your email to download

      Success. Downloading...