/coauthor

Automate the process of adding co-authors to git commits

Primary LanguageSwift

Important notice: This repo is deprecated in favor of carlpehrson/coauthor which is a rewrite in rust done to make it easier for multi arc releases.

coauthor

Co-author provides a way to automatically add friends or coworkers as co-authors to git commits when doing pairing or mob sessions.

Installation

To be described

Usage

Using coauthor is quite simple, add your coworkers with coauthor add and activate a session by using coauthor set [username [username ...]].

# Add will prompt for a username, name and email. A tip is to use the your
# private github email ([GITHUB_ID]+[GITHUB_USERNAME]@users.noreply.github.com).
#
# It can also be found at https://github.com/settings/emails.
% coauthor add

# Add `Co-Authored-By` lines for all passed authors stored in your settings
% coauthor set johantell carlpehrson

# Commit
% git commit

coauthor comes with a few more command, use coauthor help to see a list of them all.

Development

# Run the test suite (It will fetch dependencies automatically)
% swift test