AI-powered git auto-commit CLI tool
npm install git-autopilot
bash
git init
`
2. You have made an initial commit and pushed it to GitHub:
`bash
git add .
git commit -m "Initial commit"
git branch -M main
git remote add origin
git push -u origin main
`
git-autopilot requires an existing repository and remote to push changes.
3. You have a valid AI API key set in your .env file:
`bash
GEMINI_API_KEY=your_api_key_here
`
Installation
Using Bun
`bash
bun add -g git-autopilot
`
Using NPM
`bash
npm install -g git-autopilot
`
Run without global install
`bash
bunx git-autopilot
or
npx git-autopilot
`
Usage
Simply run:
`bash
git-autopilot
``