git-clean

Detect uncommitted changes in local Git branches and push them to remote.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/BedaBeda-Growth/bedabeda-growth-site --skill git-clean
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-clean
Source: https://github.com/BedaBeda-Growth/bedabeda-growth-site/tree/main/skills/git-clean
Command: npx skills add https://github.com/BedaBeda-Growth/bedabeda-growth-site --skill git-clean

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Scan local Git branches for uncommitted changes and ensure work is not lost by automatically committing and pushing to the remote repository.

Core Features & Use Cases

  • Automatically detects untracked and modified files across all local branches.
  • Generates concise commit messages and pushes changes to the corresponding remote branches.
  • Supports selective cleaning with --branch and --dry-run options for safe testing.

Quick Start

Run the git-clean skill in your repository to automatically detect and push all local changes.

Frequently Asked Questions about git-clean

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

FAQPage Schema
How do I automatically commit and push uncommitted changes across local git branches?

You can automatically commit and push uncommitted changes by running this skill in your repository. It detects untracked and modified files across all local branches, stages them, generates commit messages, and pushes to remote branches.

Can I test automatic git commits and pushes before applying them to the remote repository?

Yes, you can test automatic git commits and pushes using the --dry-run option. This allows you to safely preview the detection and cleaning of uncommitted changes before actually pushing them to the remote repository.

How do I clean up uncommitted changes on a specific git branch?

To clean up uncommitted changes on a specific git branch, use the --branch option. This targets the specified branch, staging its modified files, generating a commit, and pushing the changes to the remote.

Does this workflow support cleaning up git branches in CI pipelines before merges?

Yes, this workflow supports cleaning up git branches in CI pipelines before merges or handoffs. It automates the detection and syncing of local uncommitted changes to the remote repository within development workflows.

What do I need to set up to automate syncing local git branches to remote?

To automate syncing local git branches to remote, you need a Git repository context. The skill operates within this environment to detect changes, stage them, commit with generated messages, and push to the appropriate remote.