# git_commit_edit **Repository Path**: lei-c/git_commit_edit ## Basic Information - **Project Name**: git_commit_edit - **Description**: 修改git任意次提交的作者、时间及提交描述 - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-24 - **Last Updated**: 2025-04-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 用途 - 修改任意次提交的作者、时间及提交描述 - 批量按照指定的作者、时间线 随机调整作者、时间 - 支持强推修改到远程仓库 > 依赖本地的git用户权限 ### 前置条件: - 本地需要安装python 并配置了环境变量 > 不低于python3.8 - 本地安装了Git - 将`git-filter-repo.exe` 复制到系统配置 并配置环境 ### 打包 - 安装依赖包 ```shell pip install -r .\requirements.txt ``` - 打exe包 ```shell pip install pyinstaller python.exe -m PyInstaller -F main.py --noconsole ``` ### 配置用户 - 在exe包的同目录下增加`config.json` ```json { "authors": [ "zhangsan ", "lisi ", "wangwu ", "zhaoliu " ] } ``` > authors 用于指定作者列表