Open Source Contributions (--osc)
Use the --osc flag for open source workflows:
-
When you run:
gg "fix bug in API" --type fix --oscYou will be prompted for an issue number (e.g. 123).
-
The branch name will be:
fix/#123-fix-bug-in-api -
If you use
--genie:gg "improve error handling" --type refactor --osc --genieThe short title is generated by Gemini, e.g.
refactor/#456-enhance-error-handling. -
If you do not use
--genie, the short title is based on your commit message.
This works seamlessly with your existing workflow and helps keep branches organized for open source contributions.