Project

git-duo

0.01
No commit activity in last 3 years
No release in over 3 years
A git porcelain for duo programming. Changes git-config's user.name and user.email settings so you can commit as more than one author.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0
>= 0
>= 0
 Project Readme

Git Duo

Description

A git porcelain for duo programming. Changes git-config's user.name and user.email settings so you can commit as more than one author.

Features/problems:

  • Keep pairs per repository
  • Import pairs between repositories
  • Pairing made easy(-ier)
  • Guess the base email from the paired users' email addresses

Synopsis

$ git duo --email "board+%names@gotham.travel"
$ git duo --add "bruce Bruce Wayne <bruce@gotham.travel>"
$ git duo --add "alfred Alfred Pennyworth <alfred@gotham.travel>"
$ git duo alfred bruce
Alfred Pennyworth + Bruce Wayne <board+alfred+bruce@gotham.travel>
$ git duo --add "jim Jim Gordon <jim@gotham.travel>"
$ git duo alfred bruce jim
Alfred Pennyworth + Bruce Wayne + Jim Gordon <dev+alfred+bruce+jim@gotham.travel>
$ git duo --add "Jim Gordon <jim@gotham.travel>"
$ git duo jim alfred
Alfred Pennyworth + Jim Gordin <dev+alfred+jim@gotham.travel>
$ git duo alfred
Alfred Pennyworth <alfred@gotham.travel>
$ git duo --list
Bruce Wayne <bruce@gotham.travel>
Alfred Pennyworth <alfred@gotham.travel>
Jim Gordon <jim@gotham.travel>
$ git duo --email "law+%names@gotham.travel"
Alfred Pennyworth + Bruce Wayne <law+alfred+bruce@gotham.travel>
$ cd ../new-project
$ git duo --import ../old-project
# this will import the authors and email from the `old-project` project
# into `new-project`
$ git solo
Teo Ljungberg <teo.ljungberg@gmail.com>

Requirements

  • Ruby 1.9 and above
  • Rake

Install

  • Clone down this repository
  • Run rake install
  • Good to go

Developers

After checking out the source, run:

$ rake newb

This task will install any missing dependencies, the gem itself and run the tests

Autotest

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request