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.7.tar.gz (11.1 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.7-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_garden-1.1.7.tar.gz
  • Upload date:
  • Size: 11.1 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.7.tar.gz
Algorithm Hash digest
SHA256 dbf3ea9ff17fced3081dfb9cf19c71967e1cd488cdb7909ec58ba48123c7d94f
MD5 f99e507d11a6831d6caba8cf9623fd12
BLAKE2b-256 dc51e557f5abfdf60d206bd236b04521c07171ae920c1b007c80c441f1be9a4c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: git_garden-1.1.7-py3-none-any.whl
  • Upload date:
  • Size: 8.7 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6b377ffb2ce728735ad01ba3dd92aa6444d62b854ce6a339209c6a463de0c2d4
MD5 dfbfcd6dd2419814e2dfcf4b8758162e
BLAKE2b-256 28b4ec4d5f0710c091523f83d10b2f97661ab39d64f018041e0949820e4bf0e3

See more details on using hashes here.

Provenance

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