{"id":13826906,"url":"https://github.com/AliRezaBeigy/Gitools","last_synced_at":"2025-07-09T02:32:35.304Z","repository":{"id":57434743,"uuid":"327063656","full_name":"AliRezaBeigy/Gitools","owner":"AliRezaBeigy","description":"A handy tool to modify git history","archived":false,"fork":false,"pushed_at":"2021-10-21T11:49:12.000Z","size":296,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T02:09:30.065Z","etag":null,"topics":["change-author","change-date","change-message","git","python","writting-history"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AliRezaBeigy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-05T16:59:41.000Z","updated_at":"2024-10-06T06:42:14.000Z","dependencies_parsed_at":"2022-09-04T15:24:34.807Z","dependency_job_id":null,"html_url":"https://github.com/AliRezaBeigy/Gitools","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/AliRezaBeigy/Gitools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliRezaBeigy%2FGitools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliRezaBeigy%2FGitools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliRezaBeigy%2FGitools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliRezaBeigy%2FGitools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AliRezaBeigy","download_url":"https://codeload.github.com/AliRezaBeigy/Gitools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AliRezaBeigy%2FGitools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264380382,"owners_count":23599039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["change-author","change-date","change-message","git","python","writting-history"],"created_at":"2024-08-04T09:01:46.479Z","updated_at":"2025-07-09T02:32:34.995Z","avatar_url":"https://github.com/AliRezaBeigy.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Gitools\n\n![PyPI](https://img.shields.io/pypi/v/Gitools?style=for-the-badge)\n[![MIT License](https://img.shields.io/badge/License-MIT-yellow.svg?style=for-the-badge)](https://github.com/AliRezaBeigy/Gitools/blob/master/LICENSE)\n[![PR's Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=for-the-badge)](http://makeapullrequest.com)\n![GitHub Repo stars](https://img.shields.io/github/stars/AliRezaBeigy/Gitools?style=for-the-badge)\n![PyPI - Downloads](https://img.shields.io/pypi/dm/gitools?style=for-the-badge)\n\nA handy tool to modify git history\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"1350\" src=\"https://raw.githubusercontent.com/AliRezaBeigy/Gitools/master/asciinema.svg\"\u003e\n\u003c/p\u003e\n\n## Requirement\n\n- Python 3\n\n- Knowing following rule:\n  - **Do not change a shared history**\n\n## Quick Start\n\nYou need to install python to use this app, so you can simply download python from [Official Site](https://www.python.org/downloads)\n\nNow you should install Gitools as global app:\n\n```shell\n$ pip install -U Gitools\nor\n$ python -m pip install -U Gitools\n```\n\n**Use `-U` option to update Gitools to the last version**\n\n:warning: **Do not change a shared history**\n\n## Usage\n\n```shell\n$ gitools\n\n$ gitools -c [commit_count]\n```\n\nExample:\n\n```shell\n$ gitools -c 100\n\n$ gitools -ch ca895a914fc551f50301b83311c803846454bc21\n```\n\nFor more details:\n\n```text\n$ gitools -h\nusage: gitools [-h] [-c COUNT] [-an AUTHOR_NAME] [-ae AUTHOR_EMAIL] [-cd COMMIT_DATE]\n                     [-ch COMMIT_HASH] [-cm COMMIT_MESSAGE] [-m MODE] [-i INPUT]\n\noptional arguments:\n  -h        --help                 show this help message and exit\n  -c        --count                number of commit to show\n  -cm       --commit-message       commit message\n  -ae       --author-email         author email\n  -an       --author-name          author name\n  -cd       --commit-date          commit date\n  -ch       --commit-hash          commit hash\n  -i        --input                git directory\n  -m        --module               select module to do something\n```\n\n## Features\n\n- Modify Commit Author\n- Modify Commit Message\n- Modify Commit Date Time\n\n## Contributions\n\nThis project is based on git filter-branch. As [indygreg](https://twitter.com/indygreg) calls it \"the swiss-army knife of Git history rewriting\".\n\nIf you're interested in contributing to this project, first of all I would like to extend my heartfelt gratitude.\n\nPlease feel free to reach out to me if you need help. My Email: AliRezaBeigyKhu@gmail.com\nTelegram: [@AliRezaBeigy](https://t.me/AliRezaBeigyKhu)\n\n## LICENSE\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAliRezaBeigy%2FGitools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAliRezaBeigy%2FGitools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAliRezaBeigy%2FGitools/lists"}