Changes between Version 82 and Version 83 of HowToGit


Ignore:
Timestamp:
Dec 23, 2019, 5:24:59 AM (4 years ago)
Author:
neteler
Comment:

+Citing co-authors in a git commit message

Legend:

Unmodified
Added
Removed
Modified
  • HowToGit

    v82 v83  
    298298Importantly, not always commits of each and every PR need to be squashed before merging. When extensive changes are being made, it often makes sense to keep them unsquashed (e.g. to make reviewing easier), but trivial fixes should still be squashed to the main commits.
    299299
     300=== Citing co-authors in a git commit message ===
     301
     302For co-authors, it is suggested using `Co-authored-by` at the end of the commit message:
     303
     304{{{
     305...
     306
     307Co-authored-by: name <name@example.com>
     308}}}
     309
     310An empty line (i.e., two new lines) is necessary and sufficient (GitHub documentation is little confusing there, but the generally that's what's accepted).
    300311== Further reading ==
    301312