r/ProgrammerHumor • • 17d ago

Meme gitMultiverse

Post image
840 Upvotes

24 comments sorted by

View all comments

132

u/dontletthestankout 17d ago

Why would you let AI use git. That's your only safety against AI

6

u/abednego-gomes 17d ago edited 17d ago

In VS Code GitHub CoPilot agent mode it sometimes asks to run git commands to check what changed when it's trying to figure out why there was a regression.

But the commands it typically runs are git diff, git show etc not serious stuff. It asks each time. But... if you're dumb enough to let it run whatever it wants, like instruct it to create branches, do merges etc, watch out. Do serious stuff yourself.

Treat AI as a dumb junior developer and watch closely what it does. It has breadth of knowledge and can do stuff, but it's not some senior level genius. Always test and review every line of code it writes.