+
Skip to content

m0/git-team

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

git-team

Command line interface for creating git commit templates provisioned with one or more co-authors.

Build from Source

go get github.com/hekmekk/git-team
cd $GOPATH/github.com/hekmekk/git-team
make
sudo make install
source /etc/bash_completion

Usage

Setup some aliases

git config [--global] [--add] team.alias.noujz "Mr. Noujz <noujz@mr.se>"

To review your current aliases use:

git config [--global] --get-regexp "team.alias"

Provision a commit template

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. Please note that templates don't affect -m.

Back to being a loner

git team disable

Uninstall

sudo make purge

Similar projects

About

Commit template provisioning with co-authors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 69.2%
  • Makefile 13.0%
  • Shell 12.2%
  • Dockerfile 5.6%
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载