tl;dr;
brew tap peterbe/gg2
brew install gg2
What is gg2? It's an open source project that produces an executable CLI that you can use on the terminal to do things with git faster, for example, set creating branches and later finding them. Blogged about it here originally.
The code is written in TypeScript, but gets compiled down to an executable, so you don't need node_modules or tools like pip install. But distribution is a bit tricky because compiled binaries needs to be made for different operating systems and different CPU architectures. Homebrew can solve that. Not for Windows, but for macOS and Linux.
Needs your help; two things:
Can you install it on your system?
E.g. Try:
brew tap peterbe/gg2
brew install gg2
Does it works? Is gg2 --version now working for you?
And tab-completion in your ~/.bashrc or ~/.zshrc:
source <(gg2 shell-completion)
In fact, you can just paste that directly into your current terminal without editing your ~/.bashrc or ~/.zshrc. Does this make it possible to type gg2 bra[TAB]?
It needs a better name
The origin of the name gg2 comes from gg (https://github.com/peterbe/gg) which I built 10 years ago in Python. Its name comes from the tagline "Git and GitHub for the productivity addicted".
True, interacting with GitHub is an important part of the CLI tool, but it's not it's core.
The name gg is already taken on Homebrew. It's a Rust + Svelte GUI app for using Jujutsu.
The name should ideally be short, but perhaps that's moot if users can be encouraged/instructed to set up a symlink/alias.
Do you have any ideas?
Comments