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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gx_git-2.5.0.tar.gz
  • Upload date:
  • Size: 84.4 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.5.0.tar.gz
Algorithm Hash digest
SHA256 dfde0a9f79f9f6d0f8d6ada7f2b61af20bf9cc91e089ab64c7266f9eb4a11bdd
MD5 c21c581dabd780fa4e0a872156240e74
BLAKE2b-256 002066672ff29dc06d61446da61198ad0dea6e79488eb89fe2d77449b55f2f99

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: gx_git-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 55.7 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de9afacdfb10f83c3d62cf83b7dfeca0d18745c4e43c7f98d9bae0e532cc9162
MD5 e508c4cbf650359e6ccd8d062799db54
BLAKE2b-256 d7e0f79046c6abcd3a4114b7dfd8cc55f0c9a53f54db3ca12bc75c4b545d53f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gx_git-2.5.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