Installation

Homebrew (macOS/Linux)

brew tap masukomi/homebrew-tap
brew install masukomi/homebrew-tap/git-com

Building from Source

Prerequisites

Clone and Build

git clone https://github.com/yourusername/git-com.git
cd git-com
go build -o git-com .

Installing the executable

Move the binary to a directory in your PATH:

# Linux/macOS
sudo mv git-com /usr/local/bin/

# Or add to your personal bin directory (if that's in your PATH)
mv git-com ~/bin/

Git Integration

⚠️ You need to have a .git-com.yaml file in place before running this. Otherwise it won’t know what inputs to offer you.

Because the executable is named git-com, Git will automatically recognize it as a subcommand. Once installed, you can run:

git com

This will execute the git-com tool and start presenting you with the interactive elements specified in your repo’s .git-com.yaml file.

This works because Git looks for executables named git-<command> when you type git <command>.