
git-team
Command line interface for managing and enhancing git commit messages with co-authors.
Installation
- Add apt-sourc.es GPG Key
curl https://apt-sourc.es/admin/gpg.asc | sudo apt-key add -
- Setup the
apt repository
echo "deb [arch=amd64] https://apt-sourc.es/deb/hekmekk/git-team stable main" | sudo tee /etc/apt/sources.list.d/git-team.list
- Update the
apt package index and install git-team
sudo apt update && sudo apt install git-team
ansible-playbook git-team.yml --ask-become-pass
Download a Release
-
Download the latest release
-
Install it manually
sudo dpkg -i /path/to/downloaded/release.deb
Build from Source
The latest version of git-team has been built against go version 1.12.
make
sudo make install
Usage
Setup some aliases for convenience
git team add noujz "Mr. Noujz <noujz@mr.se>"
To review your current alias to co-author assignments use:
git team ls
To remove an assignment use:
git team rm noujz
Set active co-authors
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>.
Back to being a loner
git team disable
Similar projects
TODOs
- internal quality: apply pattern as exemplified by
add
- internal quality: refactor
Dockerfiles and Makefile for a better development experience