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

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_garden-1.1.4.tar.gz
  • Upload date:
  • Size: 11.0 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.4.tar.gz
Algorithm Hash digest
SHA256 b8542f2404de716cd2ad98c245aa06fb3c6bf0a66a72406eda33640c94e4cb13
MD5 ea8a35c1b99cf972364cc12f4c365dab
BLAKE2b-256 06ff943c09856fa70e515fe8f21513e47041db268d8fefc3eeb7e1afe53dba88

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: git_garden-1.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2bf0ad8b9323957e01d8d4d0c8a540336e3a3bd9da0619612ee3108f23a8df7e
MD5 db25ab8c981ba0f19c5776e121a624c2
BLAKE2b-256 bce098374e7def14b1b6697739ebb87a73aa950c6a4938c449738bda35789bb2

See more details on using hashes here.

Provenance

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