Skip to main content

Git Productivity Toolkit

Project description

gx

CI GitHub Release License: MIT

Git Productivity Toolkit. 25 commands for everyday git, stacked PRs, and code insight.

Documentation | Releases

Install

# Homebrew (macOS / Linux)
brew tap mubbie/tap && brew install gx-git

# Go
go install github.com/mubbie/gx-cli@latest

# pip / pipx (Python)
pipx install gx-git

# Or download a binary from GitHub Releases

Commands

gx: Git Productivity Toolkit

Setup:
  init

Everyday:
  undo, redo, oops, switch, context, sweep, shelf

Insight:
  who, recap, drift, conflicts, handoff, view

Stacking:
  stack, sync, retarget, graph, up, down, top, bottom, parent

Utility:
  nuke, update

Quick Start

gx context                    # Where am I?
gx switch                     # Pick a branch
gx undo                       # Undo the last git action
gx oops -m "better message"   # Fix the last commit
gx who                        # Who knows this code
gx shelf push "wip"           # Stash with a name

Stacked PRs:

gx stack feature/auth main           # Create a tracked branch
gx stack feature/tests feature/auth  # Stack another on top
gx graph                             # Visualize the stack
gx sync --stack                      # Rebase and push the chain
gx up / gx down                     # Navigate the stack
gx handoff --markdown --copy         # Generate PR summary

See the full documentation for detailed usage, flags, and examples for every command.

Contributing

  1. Fork the repo
  2. Create a feature branch (gx stack feature/my-thing main)
  3. Make your changes
  4. Run go build && go vet ./...
  5. Open a PR

License

MIT

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

gx_git-2.8.0.tar.gz (48.2 kB view details)

Uploaded Source

Built Distribution

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

gx_git-2.8.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file gx_git-2.8.0.tar.gz.

File metadata

  • Download URL: gx_git-2.8.0.tar.gz
  • Upload date:
  • Size: 48.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gx_git-2.8.0.tar.gz
Algorithm Hash digest
SHA256 fbbb0a22f7925b8f480a7ac6a463a62a7195c5cb70fe6ff141698427042b3b61
MD5 987b0797da870c6731063096a3a3932b
BLAKE2b-256 cf2d8e071395d11e84e6807d0ca47f7924ad572414817fb2df665c034d720dec

See more details on using hashes here.

Provenance

The following attestation bundles were made for gx_git-2.8.0.tar.gz:

Publisher: release.yml on mubbie/gx-cli

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

File details

Details for the file gx_git-2.8.0-py3-none-any.whl.

File metadata

  • Download URL: gx_git-2.8.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gx_git-2.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6df6f014771557914bf5d02b7032c63710c46b053886cfb9f58320011e92a21e
MD5 8975d87017a105bd0b23f690ad27ce47
BLAKE2b-256 6f99deb75ee99025965efc5d8595cd7dedc985410a7116c4342c235d165e65e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for gx_git-2.8.0-py3-none-any.whl:

Publisher: release.yml on mubbie/gx-cli

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