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, autoDefault: 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8caa5cdd2e8cfe3abe931836394f356e1d2e596abf078e76cd51688e04e7899d
|
|
| MD5 |
8c090bc7cb048f41753394a8844958fc
|
|
| BLAKE2b-256 |
cc57e40b8768cf211cc659ea6a499a88e4b0fbf4ec2ed5ba8b85d1d7d0b86141
|
Provenance
The following attestation bundles were made for git_unneeded-1.0.2-py3-none-any.whl:
Publisher:
publish.yaml on ellieayla/git-unneeded
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
git_unneeded-1.0.2-py3-none-any.whl -
Subject digest:
8caa5cdd2e8cfe3abe931836394f356e1d2e596abf078e76cd51688e04e7899d - Sigstore transparency entry: 1113694901
- Sigstore integration time:
-
Permalink:
ellieayla/git-unneeded@0487752a6c63b87da964199008685721b035c9b6 -
Branch / Tag:
refs/tags/v1.0.2 - Owner: https://github.com/ellieayla
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@0487752a6c63b87da964199008685721b035c9b6 -
Trigger Event:
push
-
Statement type: