diffToCommit.backend controls how commit messages are generated:
auto: Use GitHub Copilot if signed in and subscription active; otherwise fall back to API key.
account: Require GitHub sign-in with Copilot (no API key fallback).
apikey: Use OpenAI-compatible API key only.
Authentication
GitHub Copilot (Account mode)
Run Diff to Commit: Sign In (Account)
Authorize with your GitHub account
Requires an active GitHub Copilot subscription
API Key mode
Run Diff to Commit: Set API Key
Enter your OpenAI-compatible API key
Works with OpenAI, Azure OpenAI, or any compatible endpoint
Security
Diffs are redacted before any AI call. The extension masks common secrets such as bearer tokens, API keys, private key blocks, and AWS credentials. Always review generated messages before committing.