cligit v0.1.0 — Git CLI for AI agents (36 commands)
·
2 commits
to main
since this release
cligit v0.1.0
3.9MB Rust binary. Structured JSON output for every git operation. Uses libgit2 natively.
36 Commands
Read: status, log, diff, show, blame, branches, tags, stashes, remotes
Files: files, cat, history, contributors, search, find
Write: stage, unstage, commit, branch, checkout, tag, stash, reset
Merge: merge, rebase, cherry-pick, conflicts
Remote: fetch, pull, push, clone
Agent: summary, changes, pr-diff, config
Install
curl -L https://github.com/allthingssecurity/clibrowser/releases/download/cligit-v0.1.0/cligit-darwin-arm64 -o cligit
chmod +x cligit
mv cligit ~/.local/bin/Examples
# One-call repo overview
cligit summary --json
# Structured commit log
cligit log --max 10 --json
# Structured diff with hunks
cligit diff --json
# Per-line blame
cligit blame src/main.rs --json
# Search across codebase
cligit search "TODO" --json
# PR-style diff
cligit pr-diff main feature/login --json
# Branch info with ahead/behind
cligit branches --json
# File at any revision
cligit cat src/main.rs --ref HEAD~5 --json