Skip to main content

Determine whether we don't need this clone (or some of its branches) anymore.

Project description

git unneeded

Determine whether we don't need this clone (or some of its branches) anymore.

If a branch has been pushed/merged, we don't need to keep it.

Install

With uv: uv tool install git-unneeded

With pipx: pipx install git-unneeded

Usage

git unneeded -h
usage: git_unneeded.py [-h] [--color {never,always,auto}] [--debug] [--quiet]
                       [--oneline] [--skip-unknown-directories] [--no-fetch]
                       [--no-search-parent]
                       [directory ...]
Options Values Help
positional arguments
directory
Default: . GIT_DIR. Default current directory.
options
-h --help
Flag. show this help message and exit
--color
Choice: never, always, auto
Default: auto
--debug
Flag. Exact git commands and decisions.
--quiet -q -s
Flag. Just safe/not, no justification.
--oneline
Flag. Just output directory\0True. Implies --quiet.
--skip-unknown-directories
Flag. If a passed directory isn't a git repo, skip it. Not considered a failure.
--no-fetch
Flag. Don't connect to any configured remotes. Local cache might be old.
--no-search-parent
Flag. Don't search up parent directories for .git.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_unneeded-1.0.2-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file git_unneeded-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: git_unneeded-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for git_unneeded-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8caa5cdd2e8cfe3abe931836394f356e1d2e596abf078e76cd51688e04e7899d
MD5 8c090bc7cb048f41753394a8844958fc
BLAKE2b-256 cc57e40b8768cf211cc659ea6a499a88e4b0fbf4ec2ed5ba8b85d1d7d0b86141

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_unneeded-1.0.2-py3-none-any.whl:

Publisher: publish.yaml on ellieayla/git-unneeded

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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