Reference & Examples
Plain Conventional Commit without AI:
gg "add dark mode toggle" --type feat --scope ui
Force AI when a key is available:
gg "refactor data layer" --type refactor --genie
Add a remote in the same run:
gg "initial commit" --no-branch --remote https://github.com/you/new.git
Open source branch with an issue:
gg "fix login bug" --type fix --osc
Troubleshooting
- Missing API key: run
gg config <key>or exportGEMINI_API_KEY. - No changes detected: check
git statusand.gitignore. - Push fails: verify remote URL and authentication.
- Merge conflicts: resolve manually, then commit and push.