Skip to main content

git-author, a git command for managing multiple authors

Project description

Latest Version License
git-author, a git command for managing multiple authors.

Home Page

Project home page is


Configure multiple users, e.g.:

git config --global "Guest User"
git config --global ""

git config --global "John Doe"
git config --global ""

Since version 1.1.0 the committer can be set to match the author using:

git config --global gitauthor.committerisauthor true

Get a list of configured users:

$ git-author

The following authors have been configured:

           guest:  Guest User <>
            john:  John Doe <>

         default:  Christian Felder <>

Select specific user:

git-author john

Finally commit your changes as usual in this session using:

git commit


The git-author library is open source software released under the LGPL-3.0+ license (

PEP8 Compliance

git-author is PEP8 compliant.


Package download is available at


git-author can be installed from the Python Package Index using pip or pip3.

$ pip3 install git-author

As git-author needs to change environment variables in your shell, it is necessary to source the git-author script. Please add an alias pointing to the git-author script to your environment, e.g.:

alias git-author='source /usr/local/bin/git-author'

Git repository

You can download the latest source at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-author-1.1.0.tar.gz (10.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page