ggc enhances the Git experience by providing a modern command-line interface alongside an intuitive interactive search mode. Built with Go, it allows users to execute Git commands swiftly while offering a user-friendly environment that simplifies common operations. Whether executing commands directly or searching through options, ggc aims to improve productivity and ease of use.
ggc is a modern Git command-line interface (CLI) tool designed to streamline and enhance version control workflows. Built using Go, ggc offers a blend of traditional command-line commands and an interactive user interface with incremental search capabilities, catering to both seasoned developers and newcomers alike.
ggc add <file>, allowing for efficient and familiar usage.ggc to enter an interactive interface where commands can be selected via a search interface, making it easy to find and execute commands.add, push, pull, branch, and log with straightforward commands.golang.org/x/term and gopkg.in/yaml.v3 for a robust performance.To launch ggc interactively:
ggc
Type to filter through commands. Navigate selections using ctrl+n and ctrl+p, and execute selected commands using Enter.
Available commands include:
add <file> - Add a specific file to the index.branch create - Create and switch to a new branch.commit - Commit staged changes.log simple - Display commit logs in a simplified format.status - Show the current working status of the repository.main.go # Main entry point for ggc.
router/ # Logic for routing commands.
cmd/ # Handle command entry points.
git/ # Wrappers for Git operations.
For further reading, the official Git documentation provides comprehensive guides:
For more information on installation, configuration, and additional commands, refer to the project’s README.
No comments yet.
Sign in to be the first to comment.