therubymug / hitch

Git author attribution helper for pair programmers.

Home | Edit | New

Home

Hitch allows developers to be properly credited when Pair Programming and using Git.

FEATURES:

  • Persists pair(s) between different terminal instances.
  • Creates a unique email address for the pair. (e.g. dev+leshill+therubymug@hashrocket.com) This provides the ability to create a Gravatar for the pair.

SYNOPSIS:

  • First, create your hitchrc by running:
    o hitch -m
  • For therubymug and leshill to pair in the current project:
    o hitch leshill therubymug
  • or globally:
    o hitch -g leshill therubymug
  • To clear pair info (for the local project):
    o hitch -u
  • To clear pair info in the global file:
    o hitch -u -g
  • For a complete list of features:
    o hitch -h
  • Creating a Gravatar for your pair:
    o Once I’ve hitched with my pair. (e.g. hitch leshill) I have now created a unique email: dev+leshill+therubymug@hashrocket.com
    o Then, I go to gravatar.com. Add an image to that particular email address and I’m done.
  • If you want to allow different committer vs author, then:
    o unhitch (unhitch the current project)
    o unhitch -g (globally unhitch)
    o add the following aliases to your .bashrc:
alias hitch=‘hitch -p -g’ alias unhitch=‘unhitch -p -g’ alias git=‘. ~/.hitch_export_authors && git’

REQUIREMENTS:

  • Git, HighLine

INSTALL:

  • sudo gem install therubymug-hitch
Last edited by therubymug, Thu Oct 22 09:02:04 -0700 2009
Home | Edit | New
Versions: