Skip to main content

Fix Author

Sometimes, the history information of a committer could be missing by mistakes.

For instance, someone might configure his email incorrectly, or he might just not configure related stuffs at all, as a consequence, his commits cannot be recorded at his github home page, while his contributions to incorrectly configured projects are just ignored.

To solve this problem efficiently and conveniently, you can use fix-author.

Install

pip install fix-author

Usage

λ fix-author.exe --help
Available commands:
  fix
      fu: from user/author name to change.
      tu: to user/name to be changed to.
      fe: from email/email to change.
      tu: to email/email to be changed to.

Here are four examples:

  • Change email for specific user

e.g: change thautwarm's email to 123@q3.com

fix-author fix -fu thautwarm -te 123@q3.com
  • Change username for specific email
fix-author fix -fe <specific email> -tu "<expected username>"
  • Change email when email and dated username are both specific
fix-author fix -fe <specific email> -fu <dated username> -tu <expected email>

Take care: after performing refactoring, you should use git push --force to overwrite that repo's history.

Metadata

Release files for fix-author 1.1

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

Built distribution (wheel)

Table of built distributions (wheels) for fix-author 1.1
File Interpreter ABI Platform
fix_author-1.1-py3-none-any.whl Python 3 none any Details

Release files / fix_author-1.1-py3-none-any.whl

Download URL fix_author-1.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40a8fabfdd0c1dc8253c52b9c4dc9cdd3c3d9da3e1fe2a1ce48790e62d57c3fd
BLAKE2b-256 checksum
How to use checksums
2e9e19846c9224d4ee7099c31cc3bb8aa14bc4cb5d20bbeb77b28d07a8b39b2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.7 CPython/3.6.4

Release history Release notifications | RSS feed

This release

1.1 This release

1 release file

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