Patch release with code quality improvements.
Changes
- Improved code quality with
gofmt -sformatting - Reduced cyclomatic complexity in core functions:
- Split
RestoreSnapshotinto smaller, focused functions - Improved test organization and readability
- Split
- Added commit hash validation during restore
Installation
Windows
- Download
ignoregrets_v0.1.2_windows_amd64.exe - Rename to
ignoregrets.exe - Move to a directory in your PATH
Linux
- Download
ignoregrets_v0.1.2_linux_amd64 - Make executable:
chmod +x ignoregrets_v0.1.2_linux_amd64 - Move to
/usr/local/bin/ignoregrets
macOS
- Download
ignoregrets_v0.1.2_darwin_amd64 - Make executable:
chmod +x ignoregrets_v0.1.2_darwin_amd64 - Move to
/usr/local/bin/ignoregrets
For more information, see the README.
ignoregrets v0.1.1-pre
Pre-release update with code quality improvements.
[Superseded by v0.1.2]
ignoregrets v0.1.0
Initial release of ignoregrets, a lightweight CLI tool for snapshotting and restoring Git-ignored files.
Features
- Snapshot Git-ignored files tied to commit hashes
- Store snapshots locally as
.tar.gzarchives with SHA256 checksums - Restore files safely with
--dry-runand--forceoptions - Track file changes with detailed status reporting
- Manage snapshots with retention policies
- Optional Git hooks for automatic snapshots and restores
- Cross-platform support (Linux, macOS, Windows)
Installation
Windows
- Download
ignoregrets_v0.1.0_windows_amd64.exe - Rename to
ignoregrets.exe - Move to a directory in your PATH
Linux
- Download
ignoregrets_v0.1.0_linux_amd64 - Make executable:
chmod +x ignoregrets_v0.1.0_linux_amd64 - Move to
/usr/local/bin/ignoregrets
macOS
- Download
ignoregrets_v0.1.0_darwin_amd64 - Make executable:
chmod +x ignoregrets_v0.1.0_darwin_amd64 - Move to
/usr/local/bin/ignoregrets
Quick Start
-
Initialize in a Git repository:
ignoregrets init --hooks
-
Create your first snapshot:
ignoregrets snapshot
-
Check status and restore files:
ignoregrets status ignoregrets restore --dry-run ignoregrets restore --force
For more information, see the README.