Augustohp Git Pair Save

Exhibit your pair as an author name on your commits, with only bash and git as dependencies.

Project README

git-pair Build Status

Simple bash-script allowing pair to be identified on git commits:

$ git pair "Nelson Senna"

From now on, your commits will be identified with authors like:

commit a101286e02117fdafea58742074694138d578948
Author: Augusto Pascutti + Nelson Senna <[email protected]>
Date:   Thu Sep 3 23:00:58 2015 -0300

You can use as many pairs you want, all you need is keep issuing commands to add more authors.

git pair ended

At the end of your pairing session, the above command will reset author names to your global user.name configuration on Git.

Installation

One-liner using Sinister:

$ sh <(curl -sSL http://git.io/sinister) --local --url https://git.io/git-pair

Or you can clone the project where you want to, all you need after is to sym-link the git-pair script to your $PATH:

$ cd <my-src-dir>
$ git clone http://github.com/augustohp/git-pair
$ chmod a+x git-pair/git-pair
$ ln -s <my-src-dir>/git-pair /usr/local/bin

Now you should be able to execute git pair anywhere.

Open Source Agenda is not affiliated with "Augustohp Git Pair" Project. README Source: augustohp/git-pair
Stars
42
Open Issues
3
Last Commit
5 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating