https://github.com/dceoy/git-rewind-time
Bash-based command to rewind time at the latest commit of Git logs
https://github.com/dceoy/git-rewind-time
bash cli command-line-tool git shell
Last synced: 4 months ago
JSON representation
Bash-based command to rewind time at the latest commit of Git logs
- Host: GitHub
- URL: https://github.com/dceoy/git-rewind-time
- Owner: dceoy
- License: mit
- Created: 2019-07-21T12:37:45.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2026-01-06T13:39:38.000Z (6 months ago)
- Last Synced: 2026-02-15T16:40:09.829Z (5 months ago)
- Topics: bash, cli, command-line-tool, git, shell
- Language: Shell
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
git-rewind-time
===============
Bash-based command to rewind time at the latest commit of Git logs
[](https://github.com/dceoy/git-rewind-time/actions/workflows/lint.yml)
Installation
------------
This command depends on git.
```sh
$ cd /path/to/bin # a path in ${PATH}
$ curl -SO https://raw.githubusercontent.com/dceoy/git-rewind-time/master/git-rewind-time
$ chmod +x git-rewind-time
```
Example
-------
Rewind the latest commit date for 7 days
```sh
$ git-rewind-time 7 days
```
Usage
-----
```sh
$ git-rewind-time --help
Rewind time at the latest commit of Git logs
Usage:
git-rewind-time [--debug] [--dry-run]
git-rewind-time --version
git-rewind-time -h|--help
Options:
--debug Debug mode
--dry-run Execute a dry run
--version Print version
-h, --help Print usage
Arguments:
Amount of time to rewind
Time unit (seconds, minutes, hours, days, weeks, months, years)
```