Skip to content

A command line tool to commit messages with collaborators

Notifications You must be signed in to change notification settings

jodstrcil/git-team

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Team

Build Status

CLI for collaboration

Go team

Small cli tool to format your commit messages including your collaborators, and the ticket you are working on.

How to install it

Clone the project locally. Then build the code.

go build

You can install it to make it accessible from anywhere.

go install 

That's it! 🎉

GOPATH

Make sure your PATH includes the $GOPATH/bin directory, so your commands can be easily used:

export PATH=$PATH:$GOPATH/bin

How to use it

In the config.yml set your teammates names, you can optionally add the prefix of the jira ticket for your team: For example:

---
users:
  - shortname: emarley
    fullname: Elaine Marley
    email: emarley@monkeyisland.com
  - shortname: gthreepwood
    fullname: Guybrush Threepwood
    email: gthreepwood@monkeyisland.com

jiratag: MYTEAM

If you want to use this tool globally you need to export the path of you config file to environment variable GIT_TEAM_CONFIG

echo 'export GIT_TEAM_CONFIG=<path_to_config_file>' >> ~/.zshrc

Once this is set you are ready to go:

gitteam commit -m "some message" -j <ticket_number> -p <collaborator_shortname> 

Acknoledgement

This is built using urfave's cli github.com/urfave/cli

The gopher picture is taken from configuring-googles-pixelbook

About

A command line tool to commit messages with collaborators

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages