Python 3.9+ Deterministic CLI Git cleanup

Release Clean

Deterministic Git cleanup and release checkout. Control, predictability, and conscious cleanup for local release preparation.

What is Release Clean?

Release Clean is a deterministic Git utility designed to clean, reset, and position your local repository into a trusted release state before working on a specific release branch.

It removes ignored files, resets tracked changes, synchronizes main, and checks out the target release/<VERSION> branch in a predictable and auditable sequence.

Release Clean does not try to replace your release process. It prepares the local environment so the repository starts from a controlled state before release validation or operational work.

Key Features

Installation

pip3 install release-clean

The tool is executed directly via the terminal through an interactive prompt.

Using Release Clean

release-clean

The tool will prompt you to provide:

Final Summary

At the end of execution, Release Clean presents a consolidated summary including repository path, version, final branch, total successful actions, failed actions, and the full ordered command list.

Final Summary
Repository   : /path/to/repo
Version      : 2.100.1
Final branch : release/2.100.1
Success      : 8
Failures     : 0

This summary improves auditability, traceability, and operational confidence.

Accepted Version Examples