Setup Wizard
git-brief requires a one-time configuration to know where your repositories live and which LLM provider to use.
You run the wizard by executing:
git brief initThe Prompts
Section titled “The Prompts”- Workspace Path: The root directory where your code lives (e.g.,
~/projects). The Git collector will recursively scan this folder to find all your local repositories. - LLM Provider: Choose between Gemini, Anthropic, or OpenAI.
- API Key: Paste your respective API key. The input is masked in your terminal.
- GitHub Token (Optional): If you want PR and Issue tracking, paste a Classic Personal Access Token (with
reposcope).
Once completed, it writes your settings to a local JSON file. You never need to run this command again unless you want to change your provider or add a new workspace.