Socket
Book a DemoInstallSign in
Socket

git-change-date

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-change-date

Simple command line to change old commits dates.

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
13
160%
Maintainers
1
Weekly downloads
 
Created
Source

git-change-date

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

Sample Usage

Installation

npm install -g 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:

  • Enter commit number in the list
  • Enter the new date the entered date must be in a format moment can parse https://momentjs.com/docs/#/parsing/string/

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)[http://www.bitriddler.com]

Keywords

git

FAQs

Package last updated on 24 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.