Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 942 Bytes

File metadata and controls

55 lines (33 loc) · 942 Bytes

用途

  • 修改任意次提交的作者、时间及提交描述

  • 批量按照指定的作者、时间线 随机调整作者、时间

  • 支持强推修改到远程仓库

    依赖本地的git用户权限

前置条件:

  • 本地需要安装python 并配置了环境变量

    不低于python3.8

  • 本地安装了Git

  • git-filter-repo.exe 复制到系统配置 并配置环境

打包

  • 安装依赖包

    pip install -r .\requirements.txt
  • 打exe包

    pip install pyinstaller 
    python.exe -m PyInstaller -F main.py  --noconsole

配置用户

  • 在exe包的同目录下增加config.json

    {
      "authors": [
        "zhangsan <zhangsan@XXx.com>",
        "lisi <lisi@XXx.com>",
        "wangwu <wangwu@XXx.com>",
        "zhaoliu <zhaoliu@XXx.com>"
      ]
    }

authors 用于指定作者列表