juliantcook / git-amend-co-author

git command to amend a co-author using an existing config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To replace usage of git pair-commit with GitHub supported co-authors.

Requirements

  • node
  • ~/.pairs file

Example ~/.pairs file:

pairs:
    jc: Julian Cook; julian.cook
    jd: John Doe; john.doe
email:
    domain: corporation.com

Install

./install.sh

This will add git-amend-co-author to ~/bin.

Usage

If ~/bin is on your $PATH:

git amend-co-author jc

otherwise:

~/bin/git-amend-co-author jc

Will result in the last commit message being amended with: Co-authored-by: Julian Cook <julian.cook@corporation.com>

About

git command to amend a co-author using an existing config


Languages

Language:JavaScript 93.9%Language:Shell 6.1%