Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions