Coder Social home page Coder Social logo

git-pair's Introduction

git-pair

Description

I wanted a way for git to show me when a commit was made from a pair during pair programming. As usual, git provides a mechanism for the concept using the --author option on git commit. Inspired by [Bryan Helpkamp's git pairing script] 1 I wanted git-pair to have a list of authors that was loaded from outside the script. Git, being amazingly flexible, allowed me to store information about authors in the git config and access the information uniformly. And so it is.

Install

Using GitHub's gem repo

sudo gem install ryanbriones-git-pair --source=http://gems.github.com

From source

git clone git://github.com/ryanbriones/git-pair.git
cd git-pair
rake
sudo gem install --local pkg/git-pair-X.X.X.gem

Usage

  • Add an author: git-pair add [--global] abbr 'Person <emailaddress>'
    • example: git-pair add --global js 'John Smith <[email protected]>' # adds pair to ~/.gitconfig
    • example: git-pair add js 'John Smith <[email protected]>' # WARNING adds pair to current git repo
  • Show available authors: git-pair show
  • Commit with a pair: git-pair commit [abbr] [git_options]

Authors

git-pair's People

Contributors

ryanbriones avatar

Stargazers

Leon Gersing 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.