Skip to content

Command line interface for managing and enhancing git commit messages with co-authors.

License

Notifications You must be signed in to change notification settings

hekmekk/git-team

Repository files navigation

Build Status

git-team

Command line interface for managing and enhancing git commit messages with co-authors.

  1. Usage
  2. Installation
  3. A note on git hooks
  4. TODOs
  5. Similar Projects

Usage

Setup some alias -> co-author assignments for convenience

git team assignments add noujz "Mr. Noujz <[email protected]>"

To review your current assignments use:

git team assignments

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 <[email protected]>"

Commit some

Just use git commit or git commit -m <msg>.

Disable git team

git team disable

A note on git hooks

git-team uses a prepare-commit-msg hook to inject co-authors into a commit message. This hook is installed into /usr/local/etc/git-team/hooks. When you enable git-team, the git config option core.hooksPath will be set to point to that directory. Along with the prepare-commit-msg hook come proxies for all the other git hooks, so that other existing repo-local hooks are still being triggered.

TODOs

  • internal quality: refactor Dockerfiles and Makefile for a better development experience

Similar projects