Powered by Google Gemini

Perfect Commits,
Single Terminal Command

Swigit is the AI-native CLI that writes your documentation, blocks credential leaks, and synchronizes your repository natively—without breaking your flow state.

Open Source • Global Config • Zero Lock-in

The Workflow Upgrade

Why type five commands when you can type one?

Standard Git

  • 1 git add .
  • 2 git commit -m "fixed stuff"
  • 3 git pull --rebase origin main
  • ↳ Resolve merge conflicts
  • 4 git push origin main
Result: Messy history, risk of leaked secrets, broken flow.

Swigit CLI

$ swigit
✓ AI Generated Message✓ CleanPR Audited

Everything you need. Nothing you don't.

AI Commit Engine

Swigit reads your staged diffs and generates perfectly formatted Conventional Commits instantly.

CleanPR Shield

A proactive local security layer that audits files for hardcoded API keys before a push happens.

Smart Sync

Automates the stash/pull/rebase workflow to keep your local branch updated and history linear.

~/project $ swigit
Staging files for analysis...
🤖 AI: "feat(auth): implement JWT logic"
🔍 [CleanPR] Running Deep Security Scan...
✅ CleanPR: No secrets detected.
🚀 Successfully Shipped to Remote!

Zero Config

Run `swigit setup` once. Your Gemini API key is stored securely and works globally.

Command Reference

CommandDescription
swigit [message]Stage, AI commit (or use provided message), audit, and push.
swigit init <url>Initialize repo, commit, and link to remote.
swigit clone <url>Clone a repo and auto-install dependencies.
swigit syncFetch and pull with rebase to prevent merge commits.
swigit auditRun CleanPR scan on staged files without pushing.
swigit branch <name>Create a new branch and push it to remote.
swigit switch <name>Auto-stash changes and switch branches.
swigit merge <name>Merge a branch into current and push.
swigit undoUndo the last commit but keep the code changes.
swigit wipePanic button: delete all uncommitted changes entirely.
swigit infoView repo dashboard (remote, branch, last commit).
swigit setupConfigure Gemini AI keys for Swigit globally.
swigit --forceBypass CleanPR security audit and force push.