Skip to main content

A simple Python git wrapper to help manage multi-project maintenance.

Project description

Git-Garden

PyPI Python Build Docs Coverage

A simple Python git wrapper to help manage multi-project maintenance with automated fetching, pruning, fast-forwarding, deleting orphans and more!

Installation

pip install git-garden

Common Use Cases

# run with defaults: fetch & prune, report on local branches status only
# --dir is the root of the directories being walked for git repos
# if --dir is not passed it will default to the current working directory
git-garden --dir D:\dev

# attempt to fast-forward main/master (or --root) if behind
git-garden --ff

# include or exclude directories matching a sub-string
# i.e. for D:\dev\MyProject & D:\dev\MyOtherProject
git-garden --include MyProject --include MyOtherProject
git-garden --exclude MyProject --exclude MyOtherProject

# attempt to delete orphaned local branches
# (branches with remote tracking where remote no longer exists)
git-garden --delete

# see usage/syntax help
git-garden --help

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_garden-1.1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

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

git_garden-1.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file git_garden-1.1.0.tar.gz.

File metadata

  • Download URL: git_garden-1.1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for git_garden-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ea7e89c7d1ba704e8da0dded2f5a91c79caa7e3cbba7750e4b1e1304c07abe46
MD5 cf35129cf7fb27ea0399aea6868e7a5d
BLAKE2b-256 ba1412a057126d73a3386b2252d698370738885dcad7daa381bea4ff72945a42

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_garden-1.1.0.tar.gz:

Publisher: release.yml on c0ff33-dev/git-garden

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

File details

Details for the file git_garden-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: git_garden-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for git_garden-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95e0252371808fae555f8b03efff0774b63646c08dcf6f67fff77f31a2c4d800
MD5 041f215b749ccddd1f3c6a702461c49d
BLAKE2b-256 35b3f01a9162a2e6e94463508aada118b5baca1bc2085fc6e6f9fef3d4ee1c48

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_garden-1.1.0-py3-none-any.whl:

Publisher: release.yml on c0ff33-dev/git-garden

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