AOH - GitAOH - Git is a compact Git interface for Visual Studio Code focused on everyday development workflows. It provides a dedicated Git view with repository state, branch operations, staging controls, commits, synchronization actions, rollback support, and optional AI-assisted commit messages. Features
Reuse Commit MessagesThe clock icon inside the commit message box, next to the AI button (tooltip: Recent Commit Messages) opens a searchable list of the latest 100 commits in the active repository’s current history. Select an entry to replace the editor contents with its full message, including the body. You can edit it before committing. Cancelling keeps your current draft. AI Commit MessagesAI support is optional and disabled by default. AOH - Git does not depend on a specific AI provider. Instead, it can execute a configurable command-line tool and use its standard output as the generated commit message. Example configuration for the OpenAI Codex CLI:
The argument list may contain the placeholders The configured command must write the generated commit message to standard output. AOH stops commands after two minutes or when combined stdout/stderr exceeds 4 MiB. Timeout and output-limit cleanup also terminates wrapper child processes. Only one generation runs per repository at a time, including during process cleanup. Generation uses the selected files, including new files before the first commit. Prompt input is limited to 120,000 characters; large untracked files are read only up to the remaining input budget. View UpdatesStash file lists and counts are loaded when a stash is expanded and cached until that stash disappears. Refreshes preserve folder/stash expansion, scroll position, and stash message drafts. Unchanged repository sections are reused. A successful commit clears the commit message even if a subsequent push fails. Use Push to retry the upload. Context MenusRight-click a changed file or a folder in the Changes view to open the file actions and the Git submenu. You can also focus a row and press Shift+F10 or the context-menu key. Use arrow keys to navigate, Right/Left to enter/leave Git, and Escape to close. Long menus scroll inside the view.
RollbackThe context menu of changed files and folders contains a Rollback action. For files, the selected change is discarded. For folders, rollback is recursive and applies to changed files below that directory. Because rollback is destructive, AOH asks for confirmation before performing the operation. Tracked changes are restored from Git. Selected untracked files are removed. Branch ManagementThe branch menu provides hierarchical navigation for local and remote branches. Operations are shown for the selected branch rather than expanding into large nested context menus.
DiagnosticsAOH - Git writes diagnostic information to the Requirements
An external AI CLI is required only when AI commit-message generation is enabled. DevelopmentInstall dependencies and run the complete local validation:
This compiles the TypeScript sources and runs the automated Node tests. Project documentation: The repository intentionally does not contain a Gitea Actions pipeline or GitVersion configuration. Build and release orchestration is external to the extension repository. LicenseMIT. See LICENSE. Push always targets the same branch name on the selected remote. Missing or differently named upstreams require confirmation before publication (and before staging/committing in Commit & Push). Cancelling leaves the index and commits unchanged. Creating a branch does not inherit tracking from its starting point. Push alone never commits; if a push fails after Commit & Push, the local commit remains and can be uploaded with Push. Diagnostics are available in Output → AOH - Git, with timestamped warnings and errors including Git failure details. Routine refresh messages are omitted; additional lifecycle diagnostics use the Debug log level. Use the clock button in the commit message box, beside the AI button, to select one of the latest 100 commit messages. Selection copies the full message into the editor; cancelling leaves the draft unchanged. The history button is also available when AI is disabled. |