0.0
No commit activity in last 3 years
No release in over 3 years
Manage multiple authors with ease
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

>= 0
>= 0
 Project Readme

Build Status

git-authors

This git plugin allows you to create "profiles" with a name/email and easily switch between profiles. It also has a concept of "organization profiles" which contain several names and a base email, allowing you to include any number of authors on a commit. (Useful for pairing!)

Configuration is easy and lives in the gitconfig of your choice.

Install

gem install git-authors

Usage

Using personal profiles:

Let's create two profiles in our ~/.gitconfig:

[git-authors "personal"]
  name = Bill Murray
  email = billmurray@gmail.com
[git-authors "example"]
  name = Bill Murray
  email = bill@example.org

Now we can switch between the profiles easily:

$ git authors personal
Bill Murray (set in ~/.gitconfig)
billmurray@gmail.com (set in ~/.gitconfig)
$ git authors example
Bill Murray (set in ~/.gitconfig)
bill@example.org (set in ~/.gitconfig)