Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Git clean project.

Tool for removing old data from git repository.

Installation.

sudo -H python3 -m pip3 install -U git-clean

Usage.

  • Removing remote old branches:
    clean-git --url=ssh://git@git.example.com/example.git
    
  • Removing remote and local branches:
    clean-git --dirpath=/path/to/git/repo/root
    
  • Removing remote and local branches, which last commit age is higher, than 360 days only.
    clean-git --dirpath=/path/to/git/repo/root --over-days=360
    
  • Removing remote and local branches, which name is not "test".
    clean-git --dirpath=/path/to/git/repo/root --exclude-dirpath="^master|test$"
    

Release files for git-clean 0.1.0b1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for git-clean 0.1.0b1
File Interpreter ABI Platform
git_clean-0.1.0b1-py3-none-any.whl Python 3 none any Details

Release files / git_clean-0.1.0b1-py3-none-any.whl

Download URL git_clean-0.1.0b1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
caa868110082eae021f3b0303e2080060a1ee17be61c07fdae859211b14c6826
BLAKE2b-256 checksum
How to use checksums
6a101bf4c748a4a132c289b5697ef0d405205e386db3198e1968d744b3d64a97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.9.3 Linux/5.11.0-37-generic

Release history Release notifications | RSS feed

This release

0.1.0b1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page