GithubHelp home page GithubHelp logo

patrickhempel / git-team Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hekmekk/git-team

0.0 1.0 0.0 2.77 MB

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

License: MIT License

Makefile 3.23% Go 73.81% Shell 20.75% Dockerfile 2.21%

git-team's Introduction

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 src/command/adapter/alias_resolver to assignments_repository residing in core
  • internal quality: consequently separate domain-specific from technological functionality
  • internal quality: consequently use domain-specific first and technology second packaging
  • internal quality: define public interfaces where they're missing
  • internal quality: introduce public interfaces package(s)
  • internal quality: refactor Dockerfiles and Makefile for a better development experience

Similar projects

git-team's People

Contributors

hekmekk avatar svenkube avatar steinex avatar boettner avatar m0 avatar

Watchers

James Cloos 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.