4 ms·
What would a git commit look like when two distinct programmers have inputted characters into the file?
by zhughes3 9y ago
What would a git commit look like when two distinct programmers have inputted characters into the file?
- brianmario 9y agoOne common way to attribute multiple authors in a commit is to add a `Co-authored-by` commit message trailer. You can read more about git commit trailers at https://git-scm.com/docs/git-interpret-trailers https://git-scm.com/docs/git-interpret-trailers. As an example, if this was a commit message, the trailer adding my attribution would be like this: `Co-authored-by: FirstName LastName <myemail@domain.com>`