fixup

Automate fixup commits and autosquash rebase for staged Git changes.

Updated Nov 3, 2017
One-click install
npx skills add https://github.com/bubble0601/dotfiles --skill fixup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fixup
Source: https://github.com/bubble0601/dotfiles/tree/main/.claude/skills/fixup
Command: npx skills add https://github.com/bubble0601/dotfiles --skill fixup

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of cleaning up commit history by automatically creating fixup commits and managing rebases, saving developers time and reducing errors.

Core Features & Use Cases

  • Commit Cleanup: Automates creating fixup commits aligned with specific previous commits.
  • Rebase Management: Automatically initiates an autosquash rebase to reorganize commits efficiently.
  • Use Case: Developers preparing a feature branch can quickly squash multiple commits into a clean, coherent history without manual rewording.

Quick Start

Use the fixup skill to tidy up recent commits by creating fixup commits and rebasing with autosquash enabled.

Frequently Asked Questions about fixup

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

FAQPage Schema
How do I create a fixup commit and squash changes into a previous Git commit?

To create a fixup commit and squash changes, you stage your updates and run an interactive rebase with the autosquash flag enabled. The fixup tool automates this by identifying the target commit, creating the fixup commit, and executing the rebase.

What is the best way to automate commit cleanup during a Git interactive rebase?

Automating commit cleanup during a Git interactive rebase involves using the autosquash flag to automatically reorder and squash fixup commits. This Skill manages the entire sequence for you, eliminating the need for manual commit rewording.

Can I clean up multiple commits in a feature branch without manual rewording?

Yes, you can clean up multiple commits without manual rewording by generating fixup commits aligned to your target commits. The tool then initiates an autosquash rebase to automatically organize and consolidate your branch history.

Do I need Bash and Git commands to run the autosquash rebase for commit fixups?

Yes, you need Bash and Git commands to run the autosquash rebase process. The Skill relies on these command-line environments to identify previous commits, generate the fixup commits, and execute the automated history rewriting.

When should I use a fixup commit for code review cleanup?

You should use a fixup commit for code review cleanup when you need to amend specific previous commits with new staged changes. This process keeps your feature branch history coherent by consolidating feedback updates before merging.

Why use automated commit fixups instead of manual interactive rebasing?

Automated commit fixups save time and reduce errors compared to manual interactive rebasing. Instead of manually editing the rebase todo list to squash commits, the automation creates fixup commits and runs the autosquash sequence directly.