
git-team
Command line interface for injecting one or more co-authors into a git commit message template.
Installation
Build from Source
The latest version of git-team has been built against go version 1.12.
make
sudo make install
ansible-playbook git-team.yml --ask-become-pass
Usage
Setup some aliases
git team add noujz "Mr. Noujz <noujz@mr.se>"
To review your current aliases use:
git team list
To remove an alias use:
git team rm noujz
Set active co-authors
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 or git commit -m"msg". Please note that git commit --amend is not affected.
Back to being a loner
git team disable
Uninstall
sudo make purge
Similar projects
TODOs
- internal quality: apply pattern as exemplified by
add
- internal quality: refactor
Dockerfiles and Makefile
- refactor: add
assign and unassign but keep add and rm as aliases for backwards compatibility
- refactor: make
ls the command and list the alias for backwards compatibility
- feat: make it possible to rm multiple aliases