https://github.com/augustohp/git-pair
Exhibit your pair as an author name on your commits, with only bash and git as dependencies.
https://github.com/augustohp/git-pair
extreme-programming git pair-programming
Last synced: 9 months ago
JSON representation
Exhibit your pair as an author name on your commits, with only bash and git as dependencies.
- Host: GitHub
- URL: https://github.com/augustohp/git-pair
- Owner: augustohp
- License: mit
- Created: 2015-09-04T02:15:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-12-08T19:20:02.000Z (about 7 years ago)
- Last Synced: 2025-04-29T11:56:19.094Z (9 months ago)
- Topics: extreme-programming, git, pair-programming
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 42
- Watchers: 6
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-pair [](https://travis-ci.org/augustohp/git-pair)
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
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](https://github.com/jamesqo/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
$ git clone http://github.com/augustohp/git-pair
$ chmod a+x git-pair/git-pair
$ ln -s /git-pair /usr/local/bin
Now you should be able to execute `git pair` anywhere.