Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fork of Ryan Briones' git-pair, with support for multiple authors per commit
branch: master

This branch is 2 commits ahead, 1 commit behind ryanbriones:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
lib/git-pair
.gitignore
README.markdown
Rakefile
git-pair.gemspec

README.markdown

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 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 abbr 'Person <emailaddress>'
    • example: git-pair add js 'John Smith <jsmith@example.com>'
  • Show available authors: git-pair show
  • Commit with a pair: git-pair commit [abbr] [-m 'Commit Message']

Authors

Something went wrong with that request. Please try again.