fleet-refreshing-history

Reset a repository's history to a single signed initial commit.

125|42|Updated May 19, 2025
One-click install
npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-refreshing-history
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fleet-refreshing-history
Source: https://github.com/SocketDev/socket-mcp/tree/main/.agents/skills/fleet-refreshing-history
Command: npx skills add https://github.com/SocketDev/socket-mcp --skill fleet-refreshing-history

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to reset a repository's history to a single signed initial commit, ensuring a clean baseline before major releases and simplifying auditing.

Core Features & Use Cases

  • Squash the main history into one signed commit while refreshing dependencies and lockfiles.
  • Validate integrity with a remote backup and a worktree-safe workflow to avoid touching the primary checkout.
  • Use when preparing fleet-wide resets or major baseline cleanups across multiple repos.

Quick Start

Run the fleet-refreshing-history runner on your target repository path to perform a fleet-wide clean baseline.

Frequently Asked Questions about fleet-refreshing-history

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reset git history to a single signed commit before a major release?

To reset git history to a single signed commit, this Skill squashes the main branch while refreshing dependencies and lockfiles. It validates integrity using a worktree-safe workflow, remote backups, and a force-push contract to ensure a clean baseline.

What is the best way to squash repository history across a fleet of projects?

Squashing repository history across a fleet is handled by applying a per-repo baseline reset with safeguards. This process enforces a signed initial commit and dependency refresh, operating safely within worktrees to avoid touching the primary checkout.

Does squashing git history to a clean baseline also refresh dependencies?

Yes, squashing git history to a clean baseline refreshes dependencies and lockfiles simultaneously. The workflow enforces dependency updates and integrity checks before applying the signed commit and executing the force-push contract.

Can I use a worktree-safe workflow to reset repo history without affecting my primary checkout?

You can use a worktree-safe workflow to reset repo history without affecting your primary checkout. The Skill operates per-repo using worktrees and remote backups to validate integrity before applying the signed commit and force-push contract.

When should I not use a force-push contract to reset repo history?

You should not use a force-push contract to reset repo history without remote backups. The Skill mitigizes this constraint by enforcing remote backup validation and worktree safeguards to preserve integrity before applying fleet-wide baseline resets.

Do I need a remote backup before squashing git history for a fleet-wide reset?

Yes, you need a remote backup before squashing git history for a fleet-wide reset. The workflow validates integrity against remote backups and uses worktree isolation to ensure the primary checkout remains untouched during the signed commit process.