Loading...
Loading...
Used in Git development when you need to abandon current attempts and roll back to a historical commit. It automatically archives the current state to the archive/ branch and establishes bidirectional links (source and target) in ARCHIVE.md to ensure traceability of the development decision flow. Suitable for scenarios requiring safe rollback while retaining the context of failed attempts.
npx skill4agent add cafe3310/public-agent-skills git-snapshot-rollbackARCHIVE.mdrun_shell_commandpython3 <path_to_skill>/scripts/rollback.py <Target_Commit> "<Reason>" --pushpython3 <path_to_skill>/scripts/rollback.py <Target_Commit> "<Reason>"archive/{current_branch}/YYYY-MM-DD-HH-mmARCHIVE.mdgit reset --hardARCHIVE.mdARCHIVE.mdARCHIVE.mdgit reset --hardARCHIVE.md