Skip to main content

Command menu

Jump to a page or search the catalog

CLI Tools

Safe Git Split — Messy Diff to Clean Commit Plan (Never Auto-Commits)

Your agent plans the commits. You approve each one. Secrets get flagged — and their commit blocked — before they reach your history.

Free

What you get: 1 file · 80.01 KB · ZIP

Get it free

Product description

Every agent session ends the same way: a working tree full of mixed changes — the fix, the tests for the fix, a README tweak, a config bump, a file that was only reindented, and (somewhere in there) an API key you pasted during debugging. Committing that as one blob ruins your history; splitting it by hand is tedious; letting the agent “just commit it” is how secrets get published.

Safe Git Split is the middle path. Run it and you get a Markdown commit PLAN:

  • Changes grouped logically: code by module, tests, docs, config/build, and formatting-only files in their own style: group

  • A Conventional Commits message suggested for every group, with the exact git add / git commit commands — as text in the plan, never executed

  • A danger section at the top: possible secrets (reported by file and line, values never shown, placeholders and test fixtures ignored), generated & lock files, and oversized changes

  • A hard stop where it matters: a group containing a secret-flagged file is marked STOP in the plan and its commit commands are withheld until the secret is removed and rotated

  • Safety refusals: it will not emit a plan while a merge, rebase, or cherry-pick is in progress

The included SKILL.md teaches your agent the full discipline: generate the plan, review it with you, then execute ONE group at a time — only after your explicit approval for that group — verifying git status after each commit.

The tool is strictly read-only, standard-library only, and ships with 148 passing tests and a demo that plants a fake secret and proves the plan flags it — and blocks its commit — without leaking it.

Splitting is file-level, and inside any group you can pair it with git add -p when you want hunk-level control.

Requirements: Python 3.10+, git. No pip dependencies.

What you get

1 file · 80.01 KB

  • safe-git-split-getly.zipZIP · 80.01 KB

We'll email your files and a link to access your library - no account needed.

Have an account? Log in

By continuing you agree to the Terms of Service.

Instant download

CategoryCLI Tools
LicenseCommercial use allowed
Package checkPassed

Getly opened the uploaded files and found nothing that would stop them opening. It is not a virus scan or a quality rating.

PublishedNov 25, 2026
File size80.01 KB
File formatZIP
Versionv1.0

Tags

gitcommit planningai agentpythonsecret scanning
w
wyze0077

Frequently asked questions

Do I get access instantly?

Yes. This is a digital product - you can download it right after checkout, straight from your library.

Can I use it for commercial projects?

Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.

What's your refund policy?

You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.

What file formats and sizes will I get?

You'll download 1 file - ZIP - 80.01 KB in total.

Do I get free updates?

Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.

Price

Free