gitpro
The right Git identity, SSH key and signature for every repository.
Work on a company repository, commit with your work email. Switch to a personal project, use your personal identity. Gitpro chooses by remote URL, not by where you happened to clone the repository.
Useful when you have more than one GitHub/GitLab account, separate work and personal keys, or keep finding the wrong email on your commits.
Try it
Requires Linux or macOS, Git 2.36+, Python 3.9+ and OpenSSH. Install from PyPI with pipx.
pipx install gitpro
gitpro setup --write
The wizard helps you choose identities, Git hosts and owners, existing SSH keys, and optional signing. No TOML editing is needed for basic setup. Review the configuration before saving; nothing is applied to Git or SSH yet.
gitpro plan # see exactly what would change
gitpro apply -y # explicitly apply the reviewed changes
Then, inside a repository:
gitpro why # see the expected identity and anything overriding it
Already have a config? Run gitpro setup --write to add another identity without losing
your existing settings or comments. Prefer editing files? The
user guide covers the full TOML format.
What you get
- Work/personal separation: names, emails, SSH keys and signing per host/owner.
- Answers, not guesswork:
gitpro whyexplains mismatches and suggests a fix. - A safety net: optional hooks can block wrong-identity commits and pushes.
- Editor and container support: see your identity in VS Code and carry it into dev containers.
Gitpro generates ordinary Git and SSH configuration; it needs no background service. Changes can be previewed, existing hand-written files are backed up, and key creation or uploads are never part of the setup wizard.
Using VS Code?
Run gitpro: Set Up Identities from the Command Palette to open the same wizard in a terminal. The extension also shows the current identity and helps find repository-level overrides. Install the extension.
Go further when you need to
For agents, the versioned workflow provides structured preflight, identity-scoped execution and durable idempotency for commits, pushes and GitHub PRs. Persistent changes use exact proposals, human approval by default, optional operator-scoped preauthorization, and recoverable apply. MCP execution is opt-in.
| I want to… | Start here |
|---|---|
| Understand matching, SSH keys or signing | Configuration |
| Find wrong identities or forgotten work | Daily use · Finding things |
| Use dev containers | Container setup |
| Configure team policy, CI or AI assistants | Teams and CI · AI assistants |
| Look up a command or undo changes | Command reference · Undo |
| Troubleshoot or contribute | Troubleshooting · Development |
The detailed TOML, YAML and command examples live in the guide, not on the getting-started path.
License
Metadata
Release files for gitpro 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitpro-0.3.1.tar.gz | 286.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitpro-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 601.9 kB
Release files / gitpro-0.3.1.tar.gz
| Download URL | gitpro-0.3.1.tar.gz |
|---|---|
| Size | 286.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f85cbbf3e6f45d6762b9dca599c4f835304b5359112de79f8e43a7cf4ff6cbe
|
|
BLAKE2b-256 checksum How to use checksums |
c6edd5d14c5a2ae7759da1eb74de762762cff0683ef0c4c62f1fd12dd31b1318
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency logRelease files / gitpro-0.3.1-py3-none-any.whl
| Download URL | gitpro-0.3.1-py3-none-any.whl |
|---|---|
| Size | 315.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4bc7bbc66fe61157ce6c71f25db1c030b62eb6f2d73acbb682acb975cc9b810
|
|
BLAKE2b-256 checksum How to use checksums |
20cdc4b73105b2a7cc88aff422dec2877f05627f59af6e72d4b63cd6c93911b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 10, 2026.
Transparency log