mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-04-21 13:37:17 +00:00
This change detects the most recent git commit short hash and writes it to the `GIT_COMMIT_INFO` constant in `packages/cli/src/generated/git-commit.sh`, optionally appending the string "(local modifications)" if additional local changes after that commit are detected.
If set, this string is displayed in the `/about` dialog as well as passed into the `/bug` template.
Example:
```
> /about
╭───────────────────────────────────────────────────────────────────────────╮
│ │
│ About Gemini CLI │
│ │
│ CLI Version development │
│ Git Commit
|
||
|---|---|---|
| .. | ||
| bind_package_dependencies.js | ||
| bind_package_version.js | ||
| build.sh | ||
| build_package.sh | ||
| build_sandbox.sh | ||
| check-build-status.js | ||
| clean.sh | ||
| copy_bundle_assets.sh | ||
| copy_files.js | ||
| generate-git-commit-info.sh | ||
| sandbox.sh | ||
| sandbox_command.sh | ||
| setup-dev.sh | ||
| start.sh | ||