You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Git - Add setting to include 'Co-authored-by:' commit trailer when AI codegen was used #266584
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"?)
Reacted by Aaron Suen, Torsten Marco Lüdtke-Knodt, Andrei Jiroh Halili and Dmitriy Vasyura
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.
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
Activity
ajhalili2006 commentedon Dec 6, 2025
Chiming from Bluesky/Twitter here: I also seen Fedora's AI Contribution policy with Xe Iaso (@Xe)'s guide on how to add
Assisted-bycommit trailers/footers automatically on your agents files. Maybe worth considering to also add this one too by default.[-]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[/+]