git-team

module
v1.3.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2019 License: MIT

README

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 <noujz@mr.se>"

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 <green@mr.se>"
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL