Command line interface for creating git commit templates provisioned with one or more co-authors.
go get github.com/hekmekk/git-team
cd $GOPATH/github.com/hekmekk/git-team
make
sudo make install
source /etc/bash_completion
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"
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>"
Just use git commit
. Please note that templates don't affect -m
.
git team disable
sudo make purge