Skip to content

Git - Add setting to include 'Co-authored-by:' commit trailer when AI codegen was used #266584

Closed

Description

@ahgraber

I'd like to be able to automatically indicate that some of the code I'm including in a commit was generated by AI. Since vscode is tracking that metadata, it would be useful to have a setting (or set of settings) that allow:

  • enabling automatic inclusion of Co-authored-by: git trailer when AI codegen is used (for some definition of AI codegen)
  • specifying which model(s) were used for the code generation as part of the author attribution
  • setting thresholds for inclusion (for tab-completion? for copilot "edit"? for copilot "agent"?)

Activity

  1. added
    git
    feature-request
    on Sep 15, 2025
  2. ajhalili2006 commented on Dec 6, 2025

    @ajhalili2006

    Chiming from Bluesky/Twitter here: I also seen Fedora's AI Contribution policy with Xe Iaso (@Xe)'s guide on how to add Assisted-by commit trailers/footers automatically on your agents files. Maybe worth considering to also add this one too by default.

  3. changed the title [-]Add setting to include 'Co-authored-by:' commit trailer when AI codegen was used[/-] [+]Git - Add setting to include 'Co-authored-by:' commit trailer when AI codegen was used[/+] on Dec 10, 2025
  4. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Feb 24, 2026
  5. locked and limited conversation to collaborators on Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestgitinsiders-releasedon-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions