Skip to content

Add Git commit attribution for AI-assisted code changes #975

@torumakabe

Description

@torumakabe

Describe the feature or problem you'd like to solve

When using GitHub Copilot CLI to generate or modify code, there is no way to track which commits involved AI assistance.

Proposed solution

Add an option to automatically include AI attribution metadata in Git commits when code was generated or modified with Copilot CLI assistance. This could be implemented as:

Co-authored-by: GitHub Copilot copilot@github.com

Example prompts or workflows

Commit automatically includes:

Co-authored-by: GitHub Copilot copilot@github.com

Additional context

Consistency with other tools: GitHub Copilot Coding Agent (in GitHub Actions) and Claude Code already add AI attribution to commits, but Copilot CLI does not provide this capability

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions