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_completiongit config [--global] [--add] team.alias.noujz "Mr. Noujz <[email protected]>"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] noujzApart from one or more aliases, you may provide a properly formatted co-author aswell.
git team [enable] noujz <alias1> ... <aliasN> "Mr. Green <[email protected]>"Just use git commit. Please note that templates don't affect -m.
git team disablesudo make purge