Skip to main content

git-identity

Quickly set user.name and user.email for a repository, based on a config file. Available on pypi.

Installation

Recommended installation is with pipx:

pipx install git-identity

Autocompletion

Autocompletion is done with argcomplete. Install, and add the following to your shell's startup scripts:

eval "$(register-python-argcomplete git-identity)"

Configuration

This project will look for git-identity.json in the XDG config folder (typically $HOME/.config/).

{
    "identities" : {
        "<alias>": {
            "name": "Alex Ample",
            "email": "alexample@example.com"
        }
    }
}

alias is what is used when invoking the command.

Usage

After installation, you may use this as a git subcommand (though argcomplete only works when you invoke it as git-identity)

git identity <alias>

Metadata

Release files for git-identity 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-identity 1.0.1
File Size Uploaded Provenance
git-identity-1.0.1.tar.gz 3.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for git-identity 1.0.1
File Interpreter ABI Platform
git_identity-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / git-identity-1.0.1.tar.gz

Download URL git-identity-1.0.1.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d3e11c3e7952a68ec92e1bf06ee06215fb770382aebdfdccee002679b900b721
BLAKE2b-256 checksum
How to use checksums
00bfd70bde36e096b80d9b4421f5efccd78e87933fe8174d4519a513d828299f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Linux/5.10.16.3-microsoft-standard-WSL2

Release files / git_identity-1.0.1-py3-none-any.whl

Download URL git_identity-1.0.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fa7d977016ff9cf668b8a442fcf4a31c7b19eaa6db1b99e5de21690d359e11bb
BLAKE2b-256 checksum
How to use checksums
95c764696e5ff18645eec448e4d54d095af90a9dbcd4f01ef50a50f098654cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.7 CPython/3.9.6 Linux/5.10.16.3-microsoft-standard-WSL2

Security for git-identity 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page