r/learnprogramming • u/Ok-Lifeguard-9612 • Mar 26 '26
GitHub will use your repos to train AI models
Important update
On April 24 we'll start using GitHub Copilot interaction data for AI model training unless you opt out.
Remember to opt-out fellows engineers.
Important correction:
As many of you noted, the title of the post is misleading. This update will impact only "GitHub Copilot interaction" and not "all your repos".
873
Upvotes
•
u/desrtfx Mar 26 '26 edited Mar 26 '26
For clarification the original message was:
Received it by email yesterday.
Seems that it targets Copilot interactions, not all repos.
Direct opt out link for those who can't/don't want to follow the handful of steps listed.
Still, the recommendation is to opt out.
16
u/kurokabau Mar 26 '26
Where's the opt out
400
u/WinXPbootsup Mar 26 '26
Me when my code poisons the model
483
u/vootehdoo Mar 26 '26
Jokes on them, my code is shit anyway
182
u/IsThisWiseEnough Mar 26 '26
So my ai generated code will feed other ai. Let it rain sh*t.
81
u/NorskJesus Mar 26 '26
Already did
74
u/Comprehensive_Mud803 Mar 26 '26
So GitHub will use my bugs and millions of others to train their AI model. Sounds like a solid plan to me. A recipe for disaster in the making.
59
u/Fumano26 Mar 26 '26
In the title you say they use my Github repo and two lines later you quote they use copilot interactions 🤡🤦.
13
u/Just_Another_Scott Mar 26 '26
They were doing that at least 5ish years ago. Private repos were excluded at that time.
14
u/veleso91 Mar 26 '26
They can use my dogshit code, idgaf
7
u/Kevdog824_ Mar 26 '26
This is when you create the biggest repo imaginable with absolute garbage data to gain a controlling share of the training data
7
u/Little-Flan-6492 Mar 26 '26
my repo is all generated with AI , please take it
6
u/productiveaccount4 Mar 26 '26
Garbage in garbage out
5
u/StoneCypher Mar 26 '26
(hanging in noose)First time?5
u/StinkButt9001 Mar 26 '26
Did you not even read the part you linked?
Public repos are already eligible to be included in training data. That's not new.
What is new is that your interaction with Copilot is going to be used
4
u/sierra_whiskey1 Mar 26 '26
Done
4
u/ItzDubzmeister Mar 26 '26
I love that everyone is coming to this thread to say joke’s on them since our code is shit… either software engineers have low self confidence (yep sounds about right for me) or there are just a lot of bad devs out there (yup matches as well lol).
7
u/jobohomeskillet Mar 26 '26
Enjoy my readme file. I misspelled restaurant.
6
u/who_you_are Mar 26 '26
When the product is free you are the product...
Not a huge surprise there
3
u/[deleted] Mar 26 '26
how can u turn this off
3
u/shitty_mcfucklestick Mar 26 '26
I really loved how there were no active links in the email to that settings page. Petty anti-patterns to try to discourage people changing it.
3
u/jlanawalt Mar 26 '26
I thought they already used public repos to trail their AI.
The announcement is stating they will also train their AI on your use of the AI. If you don’t like Copilot, why use it? If you use it, you want it to be better.
3
u/YetMoreSpaceDust Mar 26 '26
Don't worry guys, I've been poisoning the well for decades!
2
u/Philluminati Mar 26 '26
Can you link to where this message is coming from? Do they explain anything else?
2
u/haddock420 Mar 26 '26
Doesn't bother me really. I made the code public so this seems like fair game.
2
u/jokenking488 Mar 26 '26
Good. I can contaminate their models with my half-assed not runnable code.
2
u/interyx Mar 26 '26
That seems like a bad idea.
When AI trains on AI generated content the model collapses.
2
u/Prestigious_Boat_386 Mar 26 '26
Are we supposed to believe they didn't already? Like how tf did they train them before then?
2
u/bgmrk Mar 26 '26
Gitlab is free, open source and self hostable!
2
u/AbdullahMRiad Mar 26 '26
only if you use copilot
2
u/lasercat_pow Mar 26 '26
do you honestly think the big genai llms haven't already been training on github repos?
2
u/badjayplaness Mar 27 '26
lol let them train on my repos. It’ll set back agi for years
2
u/nanihikaru01 Mar 27 '26
All my variables are :any anyways
2
u/BizAlly Apr 01 '26
Me realizing my messy code is now training AI models… good luck to the next generation
2
u/Subnetwork Mar 26 '26
The resistance is strong with the lot of you but the resist will be futile
1
u/earthceltic Mar 26 '26 edited Mar 26 '26
If anyone has a problem with this like I did and is at the liberty of choosing which software you use for your projects (versus being in a soulless company that forces github on you), you might not be aware of Gitea. It's basically a self hosted free and open source GitHub clone which works identically within VSCode and other environments. I've been very much enjoying Gitea since I set it up a few months ago
1
u/No_Dog_3790 Mar 26 '26
The AI will recoil and curl up like a roach sprayed with RAID when it touches my code.
1
u/QVRedit Mar 26 '26
Is training on “Buggy and incomplete Software” such a good idea ?
1
u/cwaterbottom Mar 26 '26
Is that how they punish ai models that they hate?
1
u/biotech997 Mar 26 '26
Seems like people don’t read, this is only applicable if you interact with Copilot. Although not to say it doesn’t already scrape all public repos on GitHub, but that’s a separate matter.
1
u/DavidRoyman Mar 26 '26
You sure have opted out, but your data is in their hands and you have to believe they really won't use it.
Pinky promise.
1
u/lKrauzer Mar 26 '26
There is an opt out option.
1
u/red_nick Mar 26 '26
OP, tell us you failed the comprehension part of English at school without telling us you failed the comprehension part of English at school
1
u/kamilc86 Mar 26 '26
Yeah, it's a tricky situation. On one hand, it feels inevitable that these models will get trained on pretty much everything available. But the quality of that data, both good and bad code, is going to be a real issue. I think we'll start seeing models just parroting what they've seen from other LLMs, like Copilot or Cursor, pretty soon. It's already kind of happening.
1
u/team_lloyd Mar 26 '26
don’t worry guys mine are all public, that should hold these models back another year from becoming effective devs
1
u/Ok-Technology-6289 Mar 26 '26
My code will plague the model
1
u/kgmeister Mar 26 '26
Good luck with my early-draft shitty elif nested loops lol
1
u/je386 Mar 26 '26
Guys, you can opt-out for non-commercial accounts and commercial accounts are not affected in the first place.
1
u/elPappito Mar 26 '26
I genuinely feel sorry for the AI they're going to train on my GitHub repos.
1
u/Crypt0Nihilist Mar 26 '26
I pity the fool.
1
u/DizzySaxophone Mar 26 '26
So github is going to train AI on tons of vibecoded projects. Sounds like a brilliant idea
1
u/Sibexico Mar 26 '26
It's possible to turn if off. Other thing, since my software released under MIT license, it can be used by AI without restrictions anyway... :)
1
u/Gold_Challenge178 Mar 26 '26
Yeah I have some repo of todos, tic-tac-toe
1
u/leoreno Mar 26 '26
Honestly I just assumed this was already happening
1
u/[deleted] Mar 27 '26
Trash In, Trash out
1
u/lobby-crasher Mar 27 '26
Copilot chat and copilot help work together, unless I can't see fine lines. That's indeed your every repo.
1
u/Cozybear110494 Mar 27 '26
Lol, fetching AI with AI slop generated code repos is like eating your own sh*t
1
u/MrHall Mar 27 '26
wait, if my repo is non-public, all the code it reads into the model will train the model anyway? is that right?
1
u/midasweb Mar 27 '26
github's settings around copilot and data usage are worth checking, especially the opt out options if privacy is a concern.
1
u/__ihavenoname__ Mar 27 '26
What if the code on my repo is already from AI
1
u/codeasm Mar 27 '26
Ive already been opted out for some reason. Also, i already started moving my main repos to other platforms. Mostly due to microsoft owning github. I do use copilot here and there, any code that based on that, can happily poison copilot if they still train on my shitty projects.
1
u/Jacksonvoice Mar 27 '26
Great use AI spaghetti code to train with. Great idea.
1
u/thelvhishow Mar 27 '26
I’ve already blocked it and transferring to CodeBerg.com
1
u/Ordinary-Yoghurt-303 Mar 27 '26
I assumed they already did. Not surprised.
1
u/Educational_Employ52 Mar 30 '26
Does this apply to private repos too?
1
u/DonkeyBonked Apr 16 '26
Oddly, when I first signed up for GitHub Copilot, I actually just assumed they already did this and my first thing after making my account was to look for this setting and disable it.
1
u/BitsAndBobs304 Mar 26 '26
Why would that be bad?
0
u/owjfaigs222 Mar 26 '26
I don't mind honestly. If I can help making AI better with my shitty code then they can use it all they want.
-2
u/Dissentient Mar 26 '26
I don't care.
-1
u/aqua_regis Mar 26 '26
That's absolutely not what the actual message says.
The message says something different:
Don't use clickbait titles with misinformation.
2
u/[deleted] Mar 26 '26
[removed] — view removed comment
2
u/[deleted] Mar 26 '26
[removed] — view removed comment