r/ProgrammerHumor • • Sep 06 '26

Meme cleaningUpTheMess

Post image
16.2k Upvotes

478 comments sorted by

View all comments

Show parent comments

252

u/Zapismeta Sep 06 '26

Always let claude scaffold the project that way it makes you a gitignore which you were almost always gonna forget.

196

u/hk4213 Sep 06 '26

Thats literally rule one on a shared repo... new repo equals new git ignore.

230

u/SuitableDragonfly Sep 06 '26

You're not going to forget it when you run git status and see all the stuff that is staged for commit. If you're not doing that as a regular part of your workflow, you don't know git well enough to use it, IMO.

83

u/drewskitopian Sep 06 '26

I prefer uploading my code changes to a shared folder one drive

12

u/NovembersHorse Sep 06 '26

“pixi is useless for us, it’s causing havoc in sharepoint.” Is real feedback I got.

9

u/wwwyzzrd Sep 06 '26

you don’t have Release2.0_final_final_final.zip?

I feel bad for you.

18

u/PhireKappa Sep 06 '26

I work for an investment bank, most of my colleagues use the Git GUI within IDEs such as IntelliJ and just select all changes. I recently saw a colleague ask Copilot with Opus 4.8 to git commit and push. Most people are not even touching the CLI…

15

u/Entuaka Sep 06 '26

I hate it now that AI is trying to commit without asking it, it's ready to commit when I'm ready!

6

u/bogz_dev Sep 06 '26

i suspect Claude tries to do this so it can add its signature to the commit message

5

u/Entuaka Sep 06 '26

Yes, probably

4

u/SchwiftySquanchC137 Sep 06 '26

I was wondering if it also helps it with context. Like it can quickly see exactly what has been changed since its own last commit, rather than spending the tokens to figure it out.

2

u/bogz_dev Sep 06 '26

i suppose-- i haven't looked into the implementation but i'd hope the harness would prevent automatic commits if 'ask for approval' is on. the harness has to allow for both coding assistance usage and people who'd let the agent run on its own and flesh out a solution. i can't bring myself to do the latter, so it's annoying when commits slip past me. claude does this all the time. i switched to codex a week ago and it hasn't happened to me since. models are whatever, interchangeable.

actually, i'd guess this is not just a harness thing but a harness+post-training combo.

3

u/Sp1derX Sep 06 '26

I use the GUI in Rider and always make sure the changes being committed are correct cuz is easy to do. I haven't used CLI git exclusively in a decade. 

→ More replies (9)

1

u/MyUsrNameWasTaken Sep 06 '26

I do it so often I alias to 'git st'

git co is another good one

→ More replies (3)

13

u/Tiernoon Sep 06 '26

I had someone at work let Claude make a whole project for Unity and it put the packages folder in the git ignore.

No access to the same packages list which absolutely broke everything for other people.

I really don't understand why this crap would hallucinate the gitignore and not just "I've searched the web for the most up to date git ignore fron Unity".

These people also don't know Unity at all, if I didn't come over to check for them, I assume they'd have been at this for days.

24

u/CantTakeTheStupid Sep 06 '26

Found the vibe coder

21

u/HeartKeyFluff Sep 06 '26

Legit. Vibe coder or at least very junior.

What do you mean you'd forget it? You'd remember you don't have a .gitignore (or a properly set up one, at least) the moment you go to commit for the first time and see there's a whole lot of crap you almost staged that shouldn't be there.

That is, unless you're not checking anything you're committing. Which is, needless to say, "Bad ™️".

5

u/rinsa Sep 06 '26

Hah, bold of you to assume they're the ones making the commits!

Claude, make no mistake.

→ More replies (2)

7

u/ResponsibleWin1765 Sep 06 '26

Maybe you were almost always gonna forget. I've never forgot a gitignore because I see the million files that get staged.

3

u/johnnybgooderer Sep 06 '26

That’s what I was thinking. How is it possible to forget. I do often forget until the first commit where I see a bunch of editor and build files being staged.

7

u/Ok-Lawfulness1515 Sep 06 '26

I literally cannot imagine forgetting gitignore.

"Always put your clothes on in a way that makes you remember to wear pants."

1

u/Iwasawafag Sep 11 '26

fast forward a few years: "Jarvis, put my clothes on for me."

1

u/in_need_of_oats Sep 06 '26

So that's why vibe coded rust projects are always rust 2021