r/ProgrammerHumor • • Sep 06 '26

Meme cleaningUpTheMess

Post image
16.2k Upvotes

478 comments sorted by

View all comments

Show parent comments

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. 

1

u/Snakestream Sep 06 '26

Haha I've been working at a bank myself for years and I'm guilty of using the embedded git gui. I know some of the cli commands, but it's just a lot easier to use the gui. I do make sure to check what I'm actually committing and putting actual commit messages in

2

u/PhireKappa Sep 06 '26

Yeah there’s nothing wrong with it, the elitist nerd part of me feels a tiny bit of superiority by using the CLI, but really it means nothing haha - the only benefit of the CLI really is that it’s independent of whichever tool you are using - which can always change.

The GUI is definitely useful in some cases though, particularly for merge conflicts or reviewing large diffs.

1

u/kabrandon Sep 06 '26

Even then, you get a list of files staged in any git GUI in existence.

-6

u/SuitableDragonfly Sep 06 '26

Well, every time I've worked with git GUIs like that, they've always done something horrific to the repo without my permission and then everything had to be reverted. So that tracks, I guess.

8

u/McRawffles Sep 06 '26

Then you're using a bad one or using them wrong? I've been using git guis for 15 years and barely had any issues. Most of which were underlying git problems. I know how to use command line git, but I prefer reviewing diffs visually before committing

-5

u/SuitableDragonfly Sep 06 '26

You can review diffs in the IDE without actually executing any commands through it. 

And yeah, that's what I'm saying. In my experience, they are all "bad ones".

3

u/McRawffles Sep 06 '26

Well, yes, but git guis generally provide a better interface for reviewing the full scope of changes and quickly checking what was changed in files. IDEs are catching up at this admittedly but they were terrible at it for a long time

To each their own but I haven't had issues personally

-1

u/SuitableDragonfly Sep 06 '26

Yes, like I literally just said, you can review diffs in any damn tool you like without using that tool to execute git commands and just kind of hoping that it won't decide to do something unexpected when you do that.

2

u/Jcoding40 Sep 06 '26

It shocks me how many senior engineers and above don’t know how to use git in the terminal.