Skip to content

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

@ahgraber

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"?)

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitygitGIT issuesinsiders-releasedPatch has been released in VS Code Insiderson-testplan

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions