Show HN: ggc – A terminal-based Git CLI written in Go
10 months ago
- #Git
- #Go
- #CLI
- ggc is a Git tool written in Go, offering both CLI commands and an interactive interface with incremental search.
- Features include traditional CLI commands, an interactive UI, simple and composite Git operations, and branch/file selection.
- Implemented using Go standard library and additional packages like golang.org/x/term, golang.org/x/sys, and gopkg.in/yaml.v3.
- Supports macOS, Linux, and Windows with pre-compiled binaries available for download.
- Installation options include a script, manual download, or using `go install`.
- Interactive mode allows filtering commands, moving selection with ctrl+n/ctrl+p, and executing with Enter.
- Includes a wide range of Git commands like add, branch, commit, diff, fetch, log, pull, push, rebase, remote, restore, stash, status, tag, and more.
- Supports shell completions for bash, zsh, and fish.
- Documentation includes links to Git references, tutorials, user manuals, best practices, and related tools.
- Project is open-source under the MIT License, with contributions welcome and sponsorship options available.