GCommit is a git-plugin that eases how to commit when you need to sign for more than one person -- pair and mob programming reality.
Instead of having to set manually the other developers names, you can define once and reference at any commit-time.
For instalattion you have to run the next command:
$ sudo make install
GCommit has been installed successfully
For Uninstallation you have to run the next command:
$ sudo make uninstall
GCommit reads a file that defines your teammates signatures, so first create
a .gitteam
file in your project's root directory, that follows the following
structure:
JD="João Daniel <[email protected]>"
JOD="John Doe <[email protected]>"
JAD="Jane Doe <[email protected]>"
note: there's no empty line at the end
Once you have .gitteam
in your repository, you can commit something using:
git gcommit JAD JD
This will generate a initial commit message like this:
Signed-off-by: Jane Doe <[email protected]>
Signed-off-by: João Daniel <[email protected]>
Please refer to CONTRIBUTING.md
Many thanks to all contributors!