Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.21 KB

File metadata and controls

51 lines (41 loc) · 1.21 KB

Build Status

git-team

Command line interface for creating git commit templates provisioned with one or more co-authors.

Build from Source

go get github.com/hekmekk/git-team
cd $GOPATH/github.com/hekmekk/git-team
make
sudo make install
source /etc/bash_completion

Usage

Setup some aliases

git config [--global] [--add] team.alias.noujz "Mr. Noujz <noujz@mr.se>"

To review your current aliases use:

git config [--global] --get-regexp "team.alias"

Provision a commit template

This alias (along with others) can then be used as an argument to the enable command and will be resolved while parsing the command line.

git team [enable] noujz

Apart from one or more aliases, you may provide a properly formatted co-author aswell.

git team [enable] noujz <alias1> ... <aliasN> "Mr. Green <green@mr.se>"

Commit some

Just use git commit. Please note that templates don't affect -m.

Back to being a loner

git team disable

Uninstall

sudo make purge

Similar projects