Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.14 KB

Logo

GitCoAuth

Badge

GitCoAuth is a simple .NET Core Global Tool that will help you generate co-authorship commit lines, as you should.

Usage

After installing, run it passing your co-author's GitHub username as a parameter. For instance:

gitcoauth lorenzck

will output the following line (and it will also automatically try to copy it to your clipboard):

Co-authored-by: Lorenz Cuno Klopfenstein <[email protected]>

Append the line to your commit message following this GitHub guide (that is leaving at least one empty line between the commit message and the co-authorship trailer). Once committed and pushed to GitHub, you and your co-authors will all have ownership of the commit. ✌

Installation

Run the following command from shell:

dotnet tool install -g dotnet-gitcoauth

To uninstall the tool again:

dotnet tool uninstall -g dotnet-gitcoauth