What problem does it solve?
This Skill automates the process of publishing changes from the 'main' branch to the 'public' branch of a Git repository, ensuring a clean and concise commit history on the public branch without exposing the detailed commit history of the main branch.
Core Features & Use Cases
- Snapshotting
main to public: Creates a clean representation of the main branch's current state on the public branch.
- Worktree Isolation: Utilizes a separate Git worktree to prevent interference with the primary working directory and
main branch.
- Clean Commit History: Allows for the creation of new, focused commits on the
public branch that reflect actual changes, rather than a full merge history.
- Use Case: After merging several features into
main, you want to update the public branch with a single, clean commit that represents the latest stable state, without cluttering the public history with intermediate development commits.
Quick Start
Execute the push-public skill to update the public branch with the latest changes from main.