All releases

v0.0.2 - New features

v0.0.2 View on GitHub

Quality-of-life release adding four features from the roadmap, all focused on giving the CLI more flexibility without changing the core commit workflow.

New Flags

  • --dry-run / -d — generate and display a commit message without creating a commit. Useful for testing prompt tweaks, checking how context affects the output, or piping the result into another tool.

    aic --dry-run
    
  • --amend — regenerate a commit message from the last commit's diff and amend it in place. The previous commit's changes are used as input instead of the staging area.

    aic --amend
    

Branch Name Context

aic now automatically inspects the current branch name for ticket or issue references. Patterns like feature/PROJ-123-add-auth or fix-#456-typo are detected and included in the prompt context so the AI can reference the ticket naturally in the generated message.

This works alongside --context — branch-derived context is prepended to any user-supplied context.

Shell Completions

A new aic completions <shell> subcommand generates shell completion scripts using clap_complete. Supported shells are bash, zsh, fish, elvish, and powershell.

# Example: add to your .zshrc
eval "$(aic completions zsh)"

Install

macOS users can install with Homebrew:

brew install russmckendrick/tap/aicommit

Pre-built binaries are published for Linux, macOS, and Windows from GitHub Releases. The installed executable is aic.

Notes

  • The internal hook command was renamed from __hook-run to hookrun to fix a clap_complete compatibility issue. If you have an existing hook installed, run aic hook unset && aic hook set to update it.
  • The --amend flag requires at least one prior commit in the repository.
  • All existing flags, configuration, and provider behaviour remain the same.

Full Changelog: https://github.com/russmckendrick/aicommit/compare/v0.0.1...v0.0.2

Full Changelog: https://github.com/russmckendrick/aicommit/compare/v0.0.1...v0.0.2