Back to directory

Git History Repair

Agent skill
1 skill

Undo, rewrite, and recover Git history safely — amend, reset vs restore vs revert, interactive rebase (reorder/squash/split/drop), undoing bad merges, recovering "lost" commits via reflog/fsck, and purging secrets or huge files from all history. Use when something in a repo went wrong or history must be reshaped — "undo this commit", "I lost my work", "remove this password/file from history", "clean up my commits before pushing", "botched merge/rebase" — even if the user doesn't say "rewrite history". Also covers finding when/where a bug or change was introduced (bisect, blame, pickaxe). Not for routine branching/merging or resolving fresh merge conflicts.

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryContent & writingStars0

About this skill

Undo, rewrite, and recover Git history safely — amend, reset vs restore vs revert, interactive rebase (reorder/squash/split/drop), undoing bad merges, recovering "lost" commits via reflog/fsck, and purging secrets or huge files from all history. Use when something in a repo went wrong or history must be reshaped — "undo this commit", "I lost my work", "remove this password/file from history", "clean up my commits before pushing", "botched merge/rebase" — even if the user doesn't say "rewrite history". Also covers finding when/where a bug or change was introduced (bisect, blame, pickaxe). Not for routine branching/merging or resolving fresh merge conflicts.

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: bf5c0d3af917ccef356d718294eec56d23e71c9c247a13c3811089c8304457ef

About scan coverage and limitations

About this listing

Category
Content & writing
Reported license
Not specified
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
Git History Repair | Agent Skills Atlas