Skip to content

Update old git commits with new author, committer, or even the commit date!

Notifications You must be signed in to change notification settings

hex0cter/git-amend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Update old git commits with new author, committer, or even the commit date!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages