diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:48:06 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-11-04 07:48:06 -0800 |
| commit | 3012e5b650d98aa3d16d197a6b06a876dd08a153 (patch) | |
| tree | 2e0825c9d0086b632c7ec7e3d43bf63e42fedff5 | |
| parent | Git 2.52-rc0 (diff) | |
| parent | SubmittingPatches: add section about AI (diff) | |
| download | git-3012e5b650d98aa3d16d197a6b06a876dd08a153.tar.gz git-3012e5b650d98aa3d16d197a6b06a876dd08a153.zip | |
Merge branch 'cc/doc-submitting-patches-with-ai'
AI guidelines.
* cc/doc-submitting-patches-with-ai:
SubmittingPatches: add section about AI
| -rw-r--r-- | Documentation/SubmittingPatches | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/SubmittingPatches b/Documentation/SubmittingPatches index d620bd93bd..e270ccbe85 100644 --- a/Documentation/SubmittingPatches +++ b/Documentation/SubmittingPatches @@ -446,6 +446,34 @@ highlighted above. Only capitalize the very first letter of the trailer, i.e. favor "Signed-off-by" over "Signed-Off-By" and "Acked-by:" over "Acked-By". +[[ai]] +=== Use of Artificial Intelligence (AI) + +The Developer's Certificate of Origin requires contributors to certify +that they know the origin of their contributions to the project and +that they have the right to submit it under the project's license. +It's not yet clear that this can be legally satisfied when submitting +significant amount of content that has been generated by AI tools. + +Another issue with AI generated content is that AIs still often +hallucinate or just produce bad code, commit messages, documentation +or output, even when you point out their mistakes. + +To avoid these issues, we will reject anything that looks AI +generated, that sounds overly formal or bloated, that looks like AI +slop, that looks good on the surface but makes no sense, or that +senders don’t understand or cannot explain. + +We strongly recommend using AI tools carefully and responsibly. + +Contributors would often benefit more from AI by using it to guide and +help them step by step towards producing a solution by themselves +rather than by asking for a full solution that they would then mostly +copy-paste. They can also use AI to help with debugging, or with +checking for obvious mistakes, things that can be improved, things +that don’t match our style, guidelines or our feedback, before sending +it to us. + [[git-tools]] === Generate your patch using Git tools out of your commits. |
