https://github.com/laserattack/gitrew
snapshots of the git repository
https://github.com/laserattack/gitrew
Last synced: 5 days ago
JSON representation
snapshots of the git repository
- Host: GitHub
- URL: https://github.com/laserattack/gitrew
- Owner: laserattack
- License: wtfpl
- Created: 2026-02-08T12:47:43.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2026-03-06T18:04:51.000Z (3 months ago)
- Last Synced: 2026-06-13T13:34:46.446Z (5 days ago)
- Language: Perl
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Wtf?
**gitrew** (gitrewind) - a simple Git wrapper that creates snapshots of repository states at specific points in time.
Each snapshot contains all files as they existed at the time of the nearest commit before the specified timestamp.
The tool is completely read-only - it doesn't modify your working tree, HEAD, staging area, or Git history in any way.
# Usage
```
Usage: gitrew [-lcb] timestamp
Flags:
-l, --list Show all snapshots (~/.gitrewind dir) and exit
-c, --cleanup Delete all snapshots (~/.gitrewind dir) and exit
-b, --branch Specify a Git branch (otherwise, the current one is used)
Examples:
gitrew 2 weeks ago
gitrew -b master 2 minute ago
gitrew 2026-02-08 15:52
Warning: Git's date parser is very strange. 'gibberish' may return
the latest commit. Use proper timestamps e.g. like above
```
# Requirements
- linux system
- Perl 5.10+
- Git
- some standard unix utils