streamich/git-cz

Git co-author

Open

#87 opened on Oct 7, 2019

 (1 comment) (3 reactions) (0 assignees)JavaScript (111 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,872 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

For companies that do a fair amount of paired programming, it's valuable to be able to represent multiple authors for commits. So we use Git's co-author feature: https://help.github.com/en/articles/creating-a-commit-with-multiple-authors#creating-co-authored-commits-on-the-command-line

It would be great if this was a feature with these capabilities:

  • Have a step in the CLI that asks for a co-author (after everything else?)
  • In git-cz config add flag to disable/enable co-author CLI step.
  • Provide list of easy to add co-authors via global config (workstation) and/or project config.
    • Ability to add multiple co-authors.
  • Automatically add the bash profile in context as one of the authors (if additional co-authors are selected).
  • Automatically add co-authors via global config (workstation) and/or project config.
  • Co-author tag for custom commit message template.

Contributor guide