Skip to main content

Gitools

PyPI MIT License PR's Welcome GitHub Repo stars PyPI - Downloads

A handy tool to modify git history

Requirement

  • Python 3

  • Knowing following rule:

    • Do not change a shared history

Quick Start

You need to install python to use this app, so you can simply download python from Official Site

Now you should install Gitools as global app:

$ pip install -U Gitools
or
$ python -m pip install -U Gitools

Use -U option to update Gitools to the last version

⚠️ Do not change a shared history

Usage

$ gitools

$ gitools -c [commit_count]

Example:

$ gitools -c 100

$ gitools -ch ca895a914fc551f50301b83311c803846454bc21

For more details:

$ gitools -h
usage: gitools [-h] [-c COUNT] [-an AUTHOR_NAME] [-ae AUTHOR_EMAIL] [-cd COMMIT_DATE]
                     [-ch COMMIT_HASH] [-cm COMMIT_MESSAGE] [-m MODE] [-i INPUT]

optional arguments:
  -h        --help                 show this help message and exit
  -c        --count                number of commit to show
  -cm       --commit-message       commit message
  -ae       --author-email         author email
  -an       --author-name          author name
  -cd       --commit-date          commit date
  -ch       --commit-hash          commit hash
  -i        --input                git directory
  -m        --module               select module to do something

Features

  • Modify Commit Author
  • Modify Commit Message
  • Modify Commit Date Time

Contributions

This project is based on git filter-branch. As indygreg calls it "the swiss-army knife of Git history rewriting".

If you're interested in contributing to this project, first of all I would like to extend my heartfelt gratitude.

Please feel free to reach out to me if you need help. My Email: AliRezaBeigyKhu@gmail.com Telegram: @AliRezaBeigy

LICENSE

MIT

Metadata

Release files for Gitools 1.5.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 Gitools 1.5.1
File Size Uploaded Provenance
Gitools-1.5.1.tar.gz 8.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Gitools 1.5.1
File Interpreter ABI Platform
Gitools-1.5.1-py3-none-any.whl Python 3 none any Details

Total release size: 21.4 kB

Release files / Gitools-1.5.1.tar.gz

Download URL Gitools-1.5.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
98e10909b1f1ece2f3de46369e28018688eb0654361631b84df8023cc99e3350
BLAKE2b-256 checksum
How to use checksums
3e2f6c2f34ecab24ccb24c27a5f2d12dff7bf18fdd036d705860c444b17c1c27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

Release files / Gitools-1.5.1-py3-none-any.whl

Download URL Gitools-1.5.1-py3-none-any.whl
Size 13.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4a8adc4c0b4d540293557fc531a54320c0964ab18fd8b4466ab8cbdb8a8af465
BLAKE2b-256 checksum
How to use checksums
1fb09813af92f5d55ad04523f7d2159fe3089bee55d8227c9970051b289cb744
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.9.1

Security for Gitools 1.5.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.

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