Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

Cleanup merged branches with notification to last committer.

Project description

================= Git Cleaner

Cleanup merged branches with notification to last committer.


.. code-block:: bash

# Normal install from PyPI
sudo pip3 install --upgrade git-cleaner
# From git
sudo pip3 install --upgrade --no-cache git+
# Locally
git clone
sudo pip3 install --upgrade --no-cache ./py-git-cleaner


.. code-block:: bash

git-cleaner COMMAND [OPTIONS]

  list-merged               Print list of merged branches with dates
  list-no-merged            Print list of not merged branches with dates
  notify-last-committer     Notify developers about outdated branches
  remove-outdated-branches  Delete outdated branches
  show-config               Print config entries

Global options:
  -h, --help     Show this message and exit.
  -v, --version  Show the version and exit.

Local options:
  -h, --help              Show this message and exit.
  --target TEXT           Name of merge branch
  --age INTEGER           Age of nearest branch
  --merged / --no-merged  Merged or not merged branches


Following variables should be set:

.. code-block:: bash

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for git-cleaner, version 0.3.4
Filename, size File type Python version Upload date Hashes
Filename, size git_cleaner-0.3.4-py2.py3-none-any.whl (9.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size git-cleaner-0.3.4.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page