Project

git-amend

0.0
No commit activity in last 3 years
No release in over 3 years
A CLI tool to update the information of exisiting git commit, such as commit date, auther, etc.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

git-amend

Build Status Gem Version

A CLI tool to update the information of exisiting git commit, such as commit date, auther, etc.

How to install

gem install git-amend

How to install

gem build git-amend.gemspec
gem install --local git-amend-<version>.gem
cd <repository>
git-amend

How to use

Usage: git-amend [options]
    -p, --path=<path>                Path to the target respository
    -a, --author=<email>             Author email for all commits
    -n, --author-name=<name>         Author name for all commits
    -c, --committer=<email>          Committer email for all commits
    -m, --committer-name=<name>      Committer name for all commits
    -C, --commit-hash=<hash>         The hash of git commit that needs to be updated
    -s, --shuffle                    Whether to shuffle the commit date (default: no)
    -f, --from=<date>                Date of the first commit (YYYY-mm-dd), only used with --shuffle
    -t, --to=<date>                  Date of the latest commit (YYYY-mm-dd), only used with --shuffle
    -v, --verbose                    Verbose mode
    -V, --version                    Print version
    -d, --dry-run                    Dry run without executing the actual command.