Git push, reimagined

Push code.
Just type zap.

One command replaces git add, git commit, and git push — with AI commit messages, auto git init, main-branch guardrails, and instant undo.

~/projects/repo
Features

Everything your push workflow was missing

zap isn't a git alias. It's a small, opinionated layer that makes the most common git operation — pushing your work — fast, safe, and a little bit smarter.

AI commit messages

Reads your full repo context — file tree, package.json, README — and writes accurate Conventional Commits with AI. Accept, edit, or regenerate.

$zap --ai
Scanning repo context...
3 files changed on feat/login
Msrc/auth/Login.jsx
Asrc/auth/OTP.jsx
Dsrc/auth/old.jsx
AI suggestion
feat(auth): add OTP verification to login flow
Done in 2.4s

Auto git init

Run zap init in any folder — it creates the git repo, sets up your identity, generates .gitignore, and connects to your dashboard in one flow.

$zap init
Git repo initialized
Identity configured
git config user.name “Alex”
.gitignore generated
→ Detected Next.js project
Dashboard connected
→ Link established
Ready to zap →

One-step undo

zap --undo soft-resets your last commit keeping your changes staged. Safe, instant, no force push needed.

HEAD~1 fix: header alignment
HEAD feat: add loginHEAD unstaged changes
← zap --undo

Pre-push checks

Run lint, test, and build scripts before every push. Configure always, never, or ask each time. Block pushes that break your pipeline.

lintpass
testpass
buildpass
✓ All checks passed

Smart .gitignore

Auto-detects Node, Next.js, React, Python, Django, Go, Rust, and more — generates the right .gitignore automatically. Never commit node_modules again.

my-project/
├── src/
│ └── app.tsx
├── node_modules/
├── .next/
├── .env.local
└── README.md
.gitignore · 12 entries auto-detected

Dashboard & insights

Push history, AI token usage, weekly activity chart, and streak tracking across all your repos. Supports multiple dashboards with easy reconnect.

MonTueWedThuFriSatSun
4.2k pushes92% AI
How it works

Three steps. Thirty seconds.

01

Install zap

One command, works with any git repo on macOS, Linux, or Windows.

02

Run zap init

Auto-initializes git, sets up your identity, generates .gitignore, and connects to your dashboard — all in one flow. Switch dashboards anytime by re-running zap init.

03

Push with AI

zap --ai analyzes your full repo context and generates a Conventional Commits message. Accept, edit with AI assistance, or write your own.

Ready when you are

Ship faster. Type less.

Install zap, run zap init, and push your next change with an AI-generated commit message in one word.