Skip to main content

Git delete merged branches

Project description

git-del-br

It deletes merged branches in git using various filters like time when it was last modified, suffix/prefix of branch name etc.

Usage:

usage: git-del-br [-h] [-ls] [-r] [-l] [-a] [-t time] [-br branch]
                     [-pre prefix] [-suf suffix]

Tool for deleting remote and local merged branches from Git

optional arguments:
  -h, --help            show this help message and exit
  -ls, --list           Lists the branches (not delete)
  -r, --remote          remove merged branches
  -l, --local           Remove local branches
  -a, --all             Removes both local and remote merged branches
  -t time, --time time  All branches after t-time which the branch is merged
                        (in days) default = -1 means infinite days
  -br branch, --branch branch
                        Branch from which other branches will be analysed
                        (default = master)
  -pre prefix, --prefix prefix
                        Filter branches based on prefix
  -suf suffix, --suffix suffix
                        Filter branches based on suffix

INSTALL:

You can install this from pip using pip install git-del-br

LICENSE:

The mighty MIT license. Please check LICENSE for more details.

Project details


Download files

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

Source Distribution

git-del-br-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file git-del-br-1.0.1.tar.gz.

File metadata

  • Download URL: git-del-br-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for git-del-br-1.0.1.tar.gz
Algorithm Hash digest
SHA256 dcd5c38b07078fea2125cec4d8f49d4662be86700c64ebc19b98941fa0e513dd
MD5 208962128924ddb8078351329dd8e8dd
BLAKE2b-256 a2ef6f7316ad4791c7e3ba511dacbfc102d5a6afb5ad70ef6bb28b60334e4a4c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page