git-autopilot
v1.0.1
Published
AI-powered git auto-commit CLI tool
Readme
git-autopilot
git-autopilot is an AI-powered CLI tool that automatically stages your changes, generates a meaningful commit message using AI (Gemini/OpenAI), commits the changes, and optionally pushes them to your GitHub repository. It streamlines your Git workflow and reduces the time spent writing commit messages manually.
⚠️ Prerequisites
Before using git-autopilot, ensure:
- You have initialized a Git repository:
git init- You have made an initial commit and pushed it to GitHub:
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin <your-repo-url>
git push -u origin maingit-autopilot requires an existing repository and remote to push changes.
- You have a valid AI API key set in your .env file:
GEMINI_API_KEY=your_api_key_hereInstallation
Using Bun
bun add -g git-autopilotUsing NPM
npm install -g git-autopilotRun without global install
bunx git-autopilot
# or
npx git-autopilotUsage
Simply run:
git-autopilot