Getting Started
gtl is a Go CLI for Git and GitHub productivity. It is designed for common local repo, branch, pull request, worktree, and maintenance workflows.
Install From Source
bash
git clone https://github.com/anduimagui/gittles.git
cd gittles
go build -o gtl .
cp gtl "$(go env GOPATH)/bin/"This puts gtl on your PATH when $(go env GOPATH)/bin is already configured.
Install From Releases
Download a binary from the GitHub releases, make it executable, and move it somewhere on your PATH.
bash
chmod +x gtl-darwin-arm64
mv gtl-darwin-arm64 /usr/local/bin/gtlVerify
bash
gtl --version
gtl --helpRequirements
- Go 1.25+ when building from source
- Git 2+
- GitHub CLI (
gh) for GitHub account inspection and per-repo auth helpers such asgtl envandgtl whoami - GitLab CLI (
glab) for GitLab account inspection withgtl env connect glabandgtl env check GITHUB_TOKENfor GitHub API-backed commandsGITLAB_TOKENfor GitLab API-backed commands
First Commands
bash
gtl status
gtl branch
gtl commit "describe the change"
gtl pr --help
gtl worktree listUse the command reference when you need exact flags, aliases, examples, or subcommands.