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

Uploaded Python 3

File details

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

File metadata

  • Download URL: git_garden-1.1.2.tar.gz
  • Upload date:
  • Size: 10.8 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.2.tar.gz
Algorithm Hash digest
SHA256 12ebaad2c86c23967cb9a8ef772b833a280aa900533bfad94a916d008f712cfd
MD5 5ff81d556ffbfbe886343f3beb6a6fb1
BLAKE2b-256 f55faf938e159485af9edd0d6fb8c96c36cdf1013be8d88cd8baef22128f72ed

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: git_garden-1.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9f1464c11d76442c896044be8b69ffa7b034c3830792e30b0324ea87dcd9ba5a
MD5 557b36e29da01006c49d708e8b4594b4
BLAKE2b-256 06051558d9f405650cfb6dc8bf3fffe7c0440e7b02bbb39a3d240730cc7acd03

See more details on using hashes here.

Provenance

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