Skip to main content

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

Project description

Git-Garden

Python PyPI CI 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.5.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.5-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_garden-1.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 6622d1ccc7de04b50b0993fe2080a473556e9c3e90c292c377d0cc97e5376a3c
MD5 90cac1e3013bf4ee29766656019b703c
BLAKE2b-256 54648f26ef64eef76de1e8bc296c03c1f35dcc643cd656ee9836c6d975f66ae1

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_garden-1.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: git_garden-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a8e57fe4c4910f42ca74d6ec65d3e33ac5f3dbccf21d5043755d2719c5edb1ef
MD5 4e51dcbf11d658aec032d372ff50b448
BLAKE2b-256 8f55dd1c46036ae759b2e6f7f3bfeee9c11aff005f9b18086cab846f1224907b

See more details on using hashes here.

Provenance

The following attestation bundles were made for git_garden-1.1.5-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