Metadata-Version: 2.1
Name: ws.gitpersona
Version: 1.1.0
Summary: Provides an easy way to configure git username on a per repository basis
Project-URL: Repository, https://github.com/wosc/git-persona
Author-email: Wolfgang Schnerring <wosc@wosc.de>
License:  BSD-3-Clause
License-File: LICENSE
Requires-Python: >=3.7
Provides-Extra: test
Requires-Dist: pytest; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
Description-Content-Type: text/x-rst

===========
git-persona
===========

git-persona provides an easy way to configure the git username on a per
repository basis. It is inspired by the mercurial extension `hg-persona`_.

.. _`hg-persona`: https://bitbucket.org/0branch/hg-persona

git-persona requires at least Python 3.3.
You can install it from PyPI like this::

    $ pip install ws.gitpersona

You can configure invidual personas in your ``~/.gitconfig`` as follows::

    [persona]
    home = Firstname Lastname <firstname@home.domain>
    work = Firstname Lastname <firstname.lastname@work.domain>

and you'll probably want to set up an alias like this::

    [alias]
    persona = !git-persona

Then you can switch the persona of a repository::

    $ git persona -n home
    $ git persona -n work

And list all known personas::

    $ git persona


CHANGES
=======

.. towncrier release notes start

1.1.0 (2023-04-04)
------------------

Changes
+++++++

- Drop Python-2 support (py2)
- Switch from setup.py to pyproject.toml (wheel)


1.0.1 (2018-11-07)
------------------

- Make current-setuptools compatible


1.0 (2015-01-11)
----------------

- First release.
