Giter VIP home page Giter VIP logo

git-team's Introduction

Build Status

git-team

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

  1. Installation
  2. Usage
  3. Configuration
  4. A note on git hooks
  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 to the enable command as well. This will activate git team globally, so that you can seemlessly switch between repositories while collaborating. If you prefer per repository activation, you can set the corresponding config option.

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

Configuration

See git team config -h on how to configure git team.

option type values default description
activation-scope string global, repo-local global set to repo-local to use git-team on a per repository basis.

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 ${HOME}/.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.

Similar projects

git-team's People

Contributors

boettner avatar floriansipgate avatar hekmekk avatar m0 avatar simonlansing avatar steinex avatar svenkube avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.