@vanyasem/git-change-date

1.0.4 • Public • Published

@vanyasem/git-change-date

Simple command line to change old commits author and committer dates.

An updated fork of @kareemaly/git-change-date

Sample Usage

Installation

npm install -g @vanyasem/git-change-date

CLI Usage

Please ensure that you are on the correct directory of the repository you want to modify and that there are no unstaged changes before running this.

Usage: git-change-date [options]

Options:

--path      repository path, defaults to current directory
--count     Number of commits to show, defaults to 5
--hash      Search commits with this hash (optional)
--dev       Show complete error stack (optional)

When you run this command you will be prompted to:

After making modifications you will have to force push to remote repositories and anyone who has pulled these commits or any future commits will have to reset and pull.

License

MIT @ Kareem Elbahrawy

Readme

Keywords

Package Sidebar

Install

npm i @vanyasem/git-change-date

Weekly Downloads

0

Version

1.0.4

License

MIT

Unpacked Size

528 kB

Total Files

22

Last publish

Collaborators

  • vanyasem