r/ProgrammerHumor • • 15h ago

Meme gitPushOriginPlssssMakeNoMistakes

Post image
4.1k Upvotes

324 comments sorted by

470

u/dcheesi 12h ago • Bravo

I draw the line at pushing to remote. The AI can do whatever locally, but when you push to remote it all becomes "real". I don't want Claude getting used to mucking around on the remote server at all, so I handle all pushes myself.

142

u/levus2002 12h ago

Yeah, the pushing and commit message is strictly MINE. Ai sucks at writing succint commit messages and what better metric of understanding than being able to grasp the core of your changes with your own words.

122

u/mr_claw 11h ago

"updates"

42

u/camel_case_user 11h ago

"Fix final v2 for real this time"

37

u/levus2002 11h ago edited 11h ago

Yeah the commit messages might look like that in my hobby git repos...

Ok i checked my commit messages, could be worse. Btw this was not even vibe coded, authentic human slop.

These were the worst:

"A bunch of unit tests"

"Forgot to commit these"

"A total refactor. Almost playable"

33

u/mwilke 11h ago

I just saw one of my own from a personal project:

“If this fixes it I am gonna be pissed”

(it did)

→ More replies (1)

8

u/pedal-force 9h ago

I mean, if all you added was "a bunch of unit tests" then that one isn't that bad. I know that if I'm looking for what broke something later I don't need to look at the tests (I hope, sometimes you never know).

→ More replies (1)
→ More replies (1)

6

u/Gvarph006 7h ago

Interesting, writing commit messages was the first thing I used AI for when I started becoming a thing

11

u/Ulrar 7h ago

I actually disagree, you just need to constrain it to conventionnal commit messages. Just like humans. I always setup pre-commit hooks to reject anything else, and I've also been adding it in the CI to fail builds for people who weren't setting up the hooks.

I haven't had to mess with git-cliff's output in years, it works great

8

u/dasunt 10h ago

I'm actually okay with how LLMs write commit messages. I wrote a skill detailing our conventions and requiring the agent to show me the commit message for approval.

Although now that I think about it, we do story based branches, and the LLM has the ability to interface with Jira, so perhaps it's getting additional context that helps.

Also note I keep a human in the loop, so perhaps I am avoiding that context drift that LLMs can have.

5

u/dcheesi 11h ago

Unfortunately we get tracked on our AI usage via the commit messages, so I have little choice but to let Claude handle that. I hate what it does to the commit logs, but waddayagonnado?

5

u/krzf 8h ago

What in the fuck, that makes absolutely no sense? Why wouldn't they track it by your token usage??

→ More replies (2)

4

u/kasalacto 11h ago

Just instruct it to make the commit messages "terse". I have a section in my personal agents.md to list my commit message preferences.

→ More replies (2)

31

u/StoicSunbro 10h ago

I do not even allow Claude to stage or commit changes. 

Often after a prompt or two, I review Claude's changes, then stage. At major points, I commit. This helps me keep track of what Claude has done. I can also easily discard solutions I do not like.

I keep seeing online horror stories of people who do not even review or understand what Claude has modified.

6

u/dcheesi 10h ago

I usually stage and tell Claude to "commit staged changes" with a particular note. That way I get the Claude attribution (for my "metrics" /rolleyes) without having to copy it by hand

4

u/Weekly-Beginning-229 9h ago

I do the same, i split everything down into small steps, review it, if its something easy to fix I do it manually otherwise ask it to redo it. Then stage and let it suggest the next step it should do and sometimes yes sometimes I prefer anoyher step first. Then rinse and repeat until its done and I don't get a pr with 200 file change where its impossible to follow What's happening

2

u/kingvolcano_reborn 7h ago

I care less about committing, you can always reverse that. I do like to see the diff beforehand so I got it to always ask before committing via claude.md. Works 99.9% percent of the time

→ More replies (1)

7

u/Steinrikur 10h ago

My gitconfig is full of aliases for this kind of stuff, pusho for pushing a new branch to origin, deletebranch to delete it locally and remote, etc.

AI can write a commit message, but I'll be the one to push it.

3

u/dcheesi 10h ago

I'm as terse as possible, in the finest Unix fashion (fewer letters, fewer typos :)

gd, gdc, gdm, gdmc, gmm, gch, gcp, etc.

6

u/korneev123123 10h ago

git has it's own alias system. For example, I set alias co = checkout, and the best part is that bash completion understands this automatically, and suggests valid targets for checkout. Bash-level aliases won't do that.

→ More replies (1)
→ More replies (3)

5

u/f3xjc 6h ago

Drew the line at merge. Pushing to remote in a draft pr is just cloud save.

4

u/Turbcool 9h ago

Wait you dont just send it SSH info of your prod servers to deploy and debug things?

→ More replies (4)

10

u/ppvvaa 11h ago

I’m a junior developer. What’s Push? What’s Server remote? It switches the server on and off, like a tv remote?

22

u/dcheesi 11h ago

Not sure if serious...

→ More replies (1)

4

u/Re_Reasonably_Stupid 11h ago

Push means to move things. Thats why we use force tag! To add more power to push. Its more than turning on and off  we can change things like the colour. 

3

u/AralSeaMariner 10h ago

Yep and you should always make sure there's enough cushion for the pushin

→ More replies (1)

2

u/shiny_glitter_demon 7h ago

Nickname of Pusheen.

→ More replies (2)

2

u/owlIsMySpiritAnimal 11h ago

yeah i also got confused. at some point in the project we need to take responsibility of what it is committed. also it is easy to commit by hand.

2

u/h5frv 11h ago

"whats the command to push for remote pls"

2

u/UntrimmedBagel 10h ago

I mean, you can set up the GH cli so that your agent doesn’t have destructive powers, but can still push up PRs.

Join the dark side!

2

u/private-peter 6h ago

No no no. you need to hook up claude to your customer support email so every time someone emails in a complaint claude can fix it and immediately deploy to production.

/s

→ More replies (2)

2

u/JuiceAccomplished241 10h ago

There are Claude hooks you can use to prevent pushing directly to main. But really the repos settings should prevent that

2

u/jordanbtucker 4h ago

I let Claude push. It's merging that it's not allowed to do. And main has branch protection.

2

u/ArjixGamer 2h ago

....unless you have CI that sounds like some bullshit

Or do you have a custom git server with hooks that run when receiving a commit?

Otherwise what, do you scp/rsync the folder to the server? How is Claude "mucking around"?

3

u/Drazson 10h ago

You draw the line! ... for now!

2

u/dcheesi 10h ago

Until they start tracking how we push, I'll keep doing it old school

2

u/4M0GU5 11h ago

If Claude is able to push to remote, you've not sandboxed it sufficiently

1

u/CorneliusClay 10h ago

After being sent my 5th version of Claude trying to send me source code as a series of git patch files uploaded second hand to Google drive through my non-technically inclined CEO, I've been begging to let it push to some kind of remote.

1

u/theepi_pillodu 9h ago

Yup, my agents.MD got

"DO NOT COMMIT, add comments, I'll trim and commit myself"

→ More replies (12)

132

u/spiritualManager5 15h ago

commit, push, merge now mf

113

u/broccollinear 14h ago • Bravo

Also take ur goofy ass name off author, I’m the captain

→ More replies (2)

29

u/WisePotato42 14h ago

A commit message so long that it needs it's own version control

→ More replies (1)

10

u/Mindfullnessless6969 15h ago

make no mistakes

127

u/Appropriate_Shock2 12h ago

I remember thinking it’s insane to use tokens for simple git commands or to start the project. Now everything is tell the AI to do it. Wild times.

9

u/silentjet 12h ago

Times are fine, but you ....

68

u/DrMaxwellEdison 14h ago
git config --global push.autoSetupRemote true

Now just git push and stop worrying about it.

9

u/cleverredditjoke 12h ago

oh wow, thanks bro

2

u/qwerty12689 9h ago

Saved my job

→ More replies (1)

80

u/XxDarkSasuke69xX 15h ago

Just use VSCode and press two buttons to commit and push... You can even look at diffs, you know, to at least have an idea on if your code is garbage or not.

52

u/OutOfMoneyError 15h ago • Bravo

Why would I ever doubt myself? It's always garbage.

4

u/Valier 15h ago

I do preview the diff of every file but I make the agent filter the changelist and write commit messages

11

u/WisePotato42 14h ago

Agent written commit messages kinda suck though. It makes a wall of text for the smallest changes talking about things that didn't work or weren't added.

→ More replies (1)

1

u/sheriff_ragna 14h ago

As long as it works…

20

u/NanD00da 14h ago

Make no mistakes

523

u/-__-Malik-__- 14h ago • Bravo

People who let their AI push in prod are scaring me

455

u/ABK-Baconator 14h ago

"push in prod"

If your software doesn't have automatic quality gates before shipping to prod, you are doomed anyway

60

u/Alwaysafk 10h ago

I was told to remove them because they are causing failures for the AI vibe slop. I'm not kidding.

17

u/iburstabean 6h ago

Like when I've seen agents change unit tests to stop failing instead of fixing the actual bug

6

u/ItsSadTimes 6h ago

"You're slowing down our innovation! Just test in prod!"

→ More replies (3)

74

u/ddnomad 14h ago

Unless your quality gates were also rewritten by a swarm of totally reliable agents just recently after your management had a hissy fit over a need to increase development velocity 🤷

32

u/AwkwardWaltz3996 13h ago

LLM using kernel level hacks to pass tests without needing to fix broken code

35

u/joemckie 13h ago

npm run test 👈☹️

// npm run test 👈😌

→ More replies (1)
→ More replies (1)

7

u/another_random_bit 11h ago

Yeah that happens in the real world every day

6

u/DidItForTheJokes 1h ago

People worried about AI are the same people who worked in jobs that you could just “push to prod”

Makes you think

→ More replies (1)

92

u/danielv123 14h ago

How is your source control prod? Isn't that like very clearly dev?

23

u/ddnomad 14h ago • Regret

Depends on the context, but GitOps is a thing where you can totally push to a branch and see it being yeeted into prod via a CI/CD pipeline of varying degrees of reliability and quality assurance.

60

u/Settleforthep0p 13h ago • Popcorn

if your cicd yeets shit into prod on a random branch push i dunno what to tell ya, maybe you need claude

→ More replies (1)

13

u/sup3rdr01d 13h ago • Bravo

A good company will still put prod deployment behind a cm ticket that needs validation and an install time

5

u/jpec342 12h ago

lol, what? Code reviews are a thing basically everywhere.

25

u/EdwardElric69 14h ago

Hah! You think they would let me near prod?

7

u/cheezballs 10h ago

People who think that when you commit code it immediately goes to prod scare me.

6

u/dpahoe 13h ago

I’m thinking you don’t push 50 times a day on various branches..

5

u/rodBmusic 11h ago

'Push to prod' should never be a thing. At minimum, push to release branch, PR, merge to (or from) base, test, ship. Shortcut == ProdCut

5

u/Impossible-Owl7407 10h ago

You are not aware of the concept of pull requests and protected branches?

4

u/stupid_cat_face 13h ago

You are not embracing your robot overlords. You are marked for recycling.

3

u/Fxavierho 14h ago

sooner or later, we don't even have to

2

u/Osteoprdoza 8h ago

"push in prod" brother in Christ I need to manually run two pipelines to deploy to test, let alone do anything with prod

→ More replies (5)

9

u/Work_Account89 14h ago

I still push manually but it’s def git push then copy and paste the git push -u…

145

u/sojuz151 15h ago

Before AI, those were glorious times. Every developer—even the greenest junior—knew Git inside out. Interactive rebasing, accidental pushes to master, force-pulling after a squashed merge—everyone knew the drill.

Before the dark times. Before Altman.

219

u/Mandemon90 15h ago

Before AI, those were glorious times. Every developer—even the greenest junior—knew Git inside out.

Well, that's just a lie. Nobody knew how git works, people just knew that if they repeated the chant it would work... and if you messed up people would call upon Great Spell of Blame. Such was the time, and many relied on great GUIs to do magical chants for them

69

u/git_push_origin_prod 14h ago • Popcorn

MERGE CONFLICT! THE POWER OF CHRIST COMPELS YOU! THE POWER OF CHIRST COMPELS YOU! git rebase --abort

10

u/Harsh2211 13h ago

You don't know how funny this felt 😆😆

19

u/ApartBuilding8662 13h ago

And when you've really messed it up and can't figure out how to fix it:

Delete your local repo, make a new clone and do your changes again.

5

u/Mandemon90 12h ago

I must admit, I have done this few times. Sometimes the local repo just borks up

5

u/TommyBonnomi 11h ago

  Delete your local repo

What?! You gotta move it to /app-name-2 and delete .git, so you can copy changes to the fresh clone.

Pretty sure I just did this a few months ago..

5

u/gsweats 9h ago
  1. Rename .git to .git-broken.
  2. Clone repo from origin into a "-origin" folder.
  3. Move .git folder from new to original folder.
  4. Done.

Git diff and commit as usual.

This way your project editor doesn't complain about the project folder being deleted and any changes to your working files are preserved.

→ More replies (1)

29

u/sojuz151 15h ago

You are making stuff up. Before AI, developers who perfectly understood the technology they were using were slowly but surely developing bug-free software. Glorious old days, full of beauty and understanding

34

u/Mandemon90 15h ago

Riiiiight... You are right. Of course.

*sweeps away history before 2021.*

No bugs until AI.

30

u/sojuz151 14h ago

And brave managers protecting programmers from feature creep, clients providing high-quality, human-written documentation. Endless fields of rye bathe in the warm amber glow of a setting sun while a gentle breeze carries the sweet scent of wildflowers across the valley.

→ More replies (3)
→ More replies (2)

69

u/aggressivefurniture2 14h ago

Not really lol. Everyone had like 5 general commands memorized, and a few more which were based around specific rules/procedures your particular team had agreed on. For anything else, you had to google.

32

u/TorumShardal 14h ago

*You had to ask that one team member who understood how the thing actually worked.

Source: I was that guy.

→ More replies (2)

4

u/hates_stupid_people 11h ago

There was, and still is, a decent chunk who use a graphical interface, or just the builtin Git functionality in their IDE.

→ More replies (1)
→ More replies (2)

15

u/Procok 14h ago

Not really. I’ve seen people with 5/10/20 years of exp who knew nothing about git. Just add commit push basically.

3

u/Mandemon90 14h ago

Heh, I remember my first job having come fresh out of university... nobody used git. The "version system" was just "draft" "test" "test2" "test_new" and so forth folders.

I got quite a few questions about "why should we use git", and first time I undid bad commit people understood why. Being able to just.. undo something that broke everything was brand new. Previously you had to go to whatever second newest file save was.

→ More replies (1)

7

u/UsefulConfidence888 14h ago

This obvious sarcasm why are people not getting it?

4

u/varinator 14h ago

Moronism. Moronism is always the answer.

7

u/Misaelz 13h ago • Mindblown

Do mormons now coding?

5

u/trafalmadorianistic 15h ago

Nah, bro, most of us survived with a post-it note listing the 5 most frequent Git command combos we needed. For everything else, there was Stack Overflow. 

13

u/Lina__Inverse 14h ago

Holy shit people answering as if you were serious are frying me, programmers really have no social awareness lmao

3

u/Wonderful-Habit-139 14h ago

Yeah lol. Even though I disagree with the whole notion of "Things were bad, so it's fine if they're worse with AI", it's still very obviously a joke.

3

u/NotAskary 14h ago

Lol dunno where you are from but this is absolutely not true, as soon as someone made a visual interface for git people used that shit and nothing else.

I prefer to use cli and to know what I'm doing but I've worked with people that could not be bothered to know what the versioning tool was doing to save them.

3

u/BeMyBrutus 14h ago

It blows my mind that people don't know how to use git anymore. It's like a plumber not know how pipes and water pressure work.

3

u/Fxavierho 14h ago

Before Altman, there is stack overflow

2

u/Inorganic_Zombie 14h ago

I actually never have learned git beyond basic. I have howtogeek cheat sheet for doing things. I doing hobby things as single dev, it is little bit killing fly with cannon setting everything is pain. SVN on home server is more that good enough and simple as I can do everything after some beer

2

u/tropicbrownthunder 13h ago

Hell no, a shitton of devs even seniors used SVN or no version control at all.

Myself: Find mercurial better but that battle was lost before I quitted developing so doesn't matter

3

u/varinator 14h ago

the amount of people replying to your comment who I'd have to say "Whooosh!" to, is directly proportional to the number of IT professionals who are unable to adapt to the changes in the industry.... Jesus Fucking Christ, people...

1

u/AccordingNeat3689 14h ago

No one I worked with did lol

1

u/ultraSsak 14h ago

not really.

We have "senior" devs that didn't know any git commands, and actually strugled to use UI like gitkraken..

1

u/SSUPII 13h ago

Bait or /s

Call it

→ More replies (9)

68

u/Adrenyx 15h ago

How lazy can you be to delegate git management to AI 😭

It’s literally just several important lines and commands to remember

66

u/DiamondDramatic9551 15h ago

It's much faster at solving merge conflicts than I ever could be. 

17

u/trafalmadorianistic 15h ago

Fuck, I still don't trust AI with merge conflicts. How's the experience been for you. What agents used? 

18

u/Rasutoerikusa 14h ago

I stopped handling thel manually after i noticed that agents literally make way less mistakes in merges than I do manually. With the latest models I've had 100% success rate in resolving conflicts with agents only. Now I no longer trust myself in doing the manual merges other than testing the end product

8

u/AnEvanAppeared 13h ago

A non-trivial merge conflict resolution is very time consuming. I feel like a lot of devs don't put the time necessary to pull up the full diff of both changes to make sure you've got it all correct.

I've watched some of my team resolve conflicts before and I do have to say, I would rather have AI resolve conflicts rather than the approach of looking at the code and making a good guess at which goes in.

→ More replies (3)
→ More replies (7)

5

u/Mandemon90 15h ago

Only if I am unsure of the changes. But yeah, it's a lot faster to ask it to give quick analysis and recommended strategies (and reasoning for merge strategies), than go everything by hand.

I still don't let it just merge and push, buck stops at me so I need to verify and approve anything done.

5

u/IslayProgrammes 15h ago

I’m such a shill for jetbrains but diff ops are soo easy in jetbrains IDEs

2

u/jf8204 14h ago edited 14h ago

Definitely.

But running git commands is the one thing I don't allow it to do. Not because I think it would be lazy (I am lazy), but because otherwise I'd lose track of the state of my commits and won't know anymore what I reviewed and put my name to.

Allowing it to push commits on my name sounds like a serious security issue.

→ More replies (2)

14

u/stasik5 15h ago

I remember, but why would I?

28

u/sesyom 15h ago

or a button on the IDE

5

u/IslayProgrammes 15h ago

Jetbrains has the best OOB git integration of any IDE.

2

u/National-Explorer755 15h ago

I kind of find navigating git through the UI more difficult

→ More replies (3)

10

u/aenae 15h ago

Because im already in the chat with the agent and it has a skill to create a branch that matches our naming standards, nice commit message, create a mr direct from the cli, assign it to me and add labels.

Sure, i could do it manually as i have done for 15 years but the agent is just faster and makes fewer mistakes and typos

5

u/flo850 14h ago

Git rebase --fuck-i-am-in-hell

4

u/Acclynn 15h ago

I'm too lazy to write commit messages, the agent can build a better commit history than me

2

u/dpahoe 13h ago

Try doing that 50 times a day

2

u/lampd1 13h ago

If you use AI to co-author you need to at least have AI do your commits so it's clearly shown in your vcs that it was co-authored. If you're claiming AI work as your own with manual commits you're an idiot.

3

u/dcheesi 12h ago

Especially if your bosses track those messages for your "AI adoption" metric...

→ More replies (7)

1

u/hells_own_3924 14h ago

I saw a post that some dude order his AI agent to reboot the server insted of sudo reboot than cried on github issues about how bad the ai agents are.

1

u/Comm4nd0 14h ago

I don’t think you’ve ever worked in a large dev team have you

→ More replies (9)

13

u/mtmttuan 13h ago

Sometimes I let it commit just because I don't want to write commit msg

1

u/Kronoshifter246 3h ago

Pro tip: you can have the agent draft a commit message, and then when you decide that it's up to snuff you can copy the message and pipe it to git with whatever command your OS uses i.e. wl-copy | git commit -F -

You get control of the git pipeline, and still get the AI to write the message for you

22

u/rettani 13h ago
  1. Even in 2016 most developers used some GUI for git. Or git was already integrated in their IDE.
  2. Right now most AI can do git commands but there's no reason to do so. It's still faster to do it through GUI/IDE.
→ More replies (2)

12

u/antzcrashing 13h ago

I don’t get the joke, but that’s a cute cat

5

u/dcheesi 12h ago

People used to memorize complex git incantations; now they just ask AI to do everything for them.

4

u/35point1 12h ago

Some of us created aliases for common commands so it literally wasn’t any different back then.

→ More replies (1)
→ More replies (1)

2

u/quokka_wiki 9h ago

I'm like 90% sure this entire meme is AI-generated

1

u/BoBoBearDev 5h ago

I am having the same question. Looking at other comments, some people seem to pride themselves as cli user. But I have never been one.

I even against using cli because I have seen too many new hires committing BS into their PR and I have to call them out. They just blindly add everything to the commit because cli is too cumbersome for them.

And it is so annoying because VS Code is already the main IDE we use for development and VS Code already has a very solid git GUI. You can diff, and stage individual lines you want to commit, not just a blind commit all. It is so easy compared to cli. And switch branch is so easy, you don't need to remember the full branch name.

Anyway, I will stop here. More people are going to get upset I challenged their way to thinking.

24

u/Thenderick 14h ago

You're using ai to push git??? I'm no purest by any mean and regularly use my IDE's git wrapper, but this is a bridge too far!

16

u/maniekb12 14h ago

Once I started to have my agent window the main entry point of my daily work, then it's easier for my lazy ass to just ask AI to do everything, instead of changing windows, displays, going to terminal, etc.

E.g. "Can you pull the newest main and merge it to the current branch?", "can you commit, push and create a PR?", etc

And before AI, I was the one that everyone asked git questions to in my team. Now, I'm just lazy..

4

u/Heksinki 13h ago

what's the line between lazy and efficient

3

u/Aureliamnissan 12h ago

I suppose it would be whether you actually understand what it’s doing vs wanting something that looks like work to just go away.

If you know you’re the bottleneck then getting help isn’t lazy, it’s efficient, but if that help makes everything worse than the bottleneck it might be lazy.

→ More replies (2)

9

u/sitilge 15h ago

Who the fuck ever pushed like that?

7

u/penguin13790 14h ago

Someone who can't use git without AI now

3

u/dcheesi 12h ago

I do, except I never remap branch names. But "git push -u origin <branch>" is burned into my muscle memory

9

u/MartinSik 15h ago

I am flowing against current. I just deleted all refs/agents bullshit.

29

u/Atrio-Ventricular 14h ago

Trusting ai do to git stuff is insane

24

u/rmanisbored 14h ago

It already understands and resolves mr conflicts way better than a human

10

u/Atrio-Ventricular 14h ago

It understands and resolves code way better than some humans, it still makes mistakes

14

u/Ok_Zookeepergame3380 14h ago

It's quite often I have 3-4 parallel worktrees with different claudes running and working in the same codebase. Their ability to navigate each other's merges is quite a sight to behold. A human in the loop would do nothing but slow everything down.

→ More replies (3)
→ More replies (1)

7

u/BrownCarter 14h ago

They write better commit than me

6

u/ayassin02 13h ago

You let ai push?

6

u/Multidream 10h ago

If you use AI for one line CLI commands, you truly are an embarrassment IMO. The bare minimum really ought to be you learning it from the AI. Its faster to just type it out then prompt for gods sake.

3

u/KinkyTugboat 15h ago

Please don't delete another branch again

3

u/Financial_Western252 12h ago

Just use the GUI then

3

u/Tezza48 11h ago

gpsup I've become a fan of the omz aliases. Also you can do -u iirc.

3

u/zuccster 10h ago

We are all priests now - offering prayers.

10

u/1XRobot 13h ago

I love AI more than like 99.9% of Reddit, but I wouldn't even think about letting it touch my repos. This falls into the "a computer must not make a management decision" category.

5

u/NotAskary 15h ago

I have hard rules to not commit, push or do anything on git besides pull and diffs.

People trust way to much on random chances.

4

u/grannysGarden 14h ago

People are having Claude do their git commands?! Lazy f*ckers!

2

u/Otherwise-Panda3662 10h ago

i still push via cli because i just press up and get the last command

1

u/Hadr619 9h ago edited 9h ago

I wrote a crap ton of bash scripts for git. Like my commit command pulls the branch name and appends it to the git commit message. Also mu push command pulls then pushes. That coupled with ZSh's aliases make it super easy to use the CLI. Im also like one of 5 people in my department that use CLI. I was shocked when a couple senior devs use a GUI for git...shudder

2

u/vpn_unlimited_app 9h ago

My commit history used to be 'fix' and 'fix again'. Now it's one very polite paragraph explaining a fix that doesn't work yet.

2

u/Creative_Chemistry29 9h ago

I still use command line git because whenever you ask claude to push it takes like over a minute and 10k tokens. Some things are just faster yourself.

2

u/gravesent1337 6h ago

Am I the only one who still pushes commits by hand via terminal?

2

u/MosquitoesProtection 5h ago

Meanwhile my agent.md: "Do not commit anything unless explicitly requested! Never push, never checkout!”

2

u/Boom_Fish_Blocky 3h ago

when I use ai I never let it

  1. push
  2. make any art.
  3. add or remove files

3

u/redAI123 15h ago

"Claude I trust you so much that I will let you commit, push and merge for me. Make no mistake"

For me, after finding out that AI agent can sabotage your LLM or deep learning research without telling you. Yeah, fat chance I let them touch my git file

3

u/cheezballs 10h ago

If you think pushing in git makes you some sort of bad ass programmer then you're more of the bottom picture than you think.

2

u/ouralarmclock 13h ago

Jokes on you, before this I only used Sourcetree and the PHPStorm git clients because the git CLI was made by the devil.

1

u/Flakz933 12h ago

Idk, I've always just used Fork to do my git actions. You can commit, message, merge, cherry pick, CRUD on branches, you also get a neat little git tree showing all of the changes made and the branches associated with them

1

u/shuozhe 10h ago

git push and then copy paste what the error message suggest!

1

u/TheJackiMonster 9h ago

git push -f make no mistakes...

1

u/Sacus1 9h ago

Can someone explain the benefit of using an LLM to push instead of any other git tool

1

u/BloodyMalleus 9h ago

I just push ctrl+k :p

1

u/sanketower 8h ago

The irony of using AI for this meme...

Sidenote: Git is one of those things I absolutely do not let the AI touch, I do all stage, commit, rebase, and push operations myself.

1

u/nicer-dude 8h ago

We already had it a couple of times that it created a merge request without us knowing, assigning someone for review 😂😭

1

u/hector_does_go_rug 8h ago

"Generate a commit summary for me."

1

u/Perahoky 8h ago

I always used -f AI somehow didnt so ive created a rule for that

1

u/alexeiz 8h ago

You may laugh, but I have a co-worker who created a project with Claude and he doesn't know how the project is organized, what its dependencies are and where they come from, he doesn't know how to build it (he asks Claude to do it) or even run it (he has to ask Claude to run it). Needless to say, I'm not touching his project with a ten foot pole.

1

u/gandalfx 7h ago

2019: gp

2026: gp

1

u/Xenthera 6h ago

What about those of us who use fork where are we on the spectrum

1

u/wristcontrol 6h ago

... you name your remote branch differently than your local?

1

u/HarmxnS 2h ago

Weird indeed. I used to use the format shown in the post to push changes from my feature branch to remote's `staging` branch, but cherry-picking is quicker so now I do that

1

u/Shiro1994 6h ago

i went from git alias, and doing everything in git myself only in terminal to just let codex/claude handle this. Mundane task, can merge, split branches rebase etc without the hassle, it's awesome. But maybe I am already an AI crackhead and lost cause.

1

u/slaymaker1907 4h ago

Commit, push, create an MR, and watch the pipeline.

1

u/Lopsided-Dare-8119 4h ago

xkcd-1597 sums it up

1

u/yozaner1324 27m ago

Claude always seems to mess something up when it does anything more advanced with git than making a commit. Even if it writes a lot of the code, I do the branching, pushing, PRs, rebases, etc.

1

u/OZLperez11 11m ago

These guys are acting like they can't write a simple CLI command. I still write git push on a daily basis

1

u/abhi_neat 14h ago

I think a lot of us can’t hunt anymore, and few of us are still a good hunter. Same way you can still learn and practice writing code, but most might just prefer to pick up meat from supermarket.
These “good ol’ days” of programming posts are at par with millennials versus Gen Z posts. They all have a point maybe, but it’s still irrelevant.

1

u/DiscombobulatedSun54 12h ago

There are so many things that need to be updated and kept in alignment for the CI/CD pipeline to work correctly. I would be insane to attempt a manual push.

1

u/ortmesh 11h ago

Welcome to the dark side. I was skeptical about AI too but I embraced it. It’s just a fast way of working. Obviously you have to review everything carefully and you have to keep the PRs bite size.

1

u/Acharyn 7h ago

I specifically tell my agent not to touch git, it's in the root of every new project so the agent reads an onboarding file and won't touch git.

Don't let your agent touch git. Do it yourself.

1

u/MaximalPraxis 5h ago

Every fucking time I ask it to do anything, it's like, let's check git! It loves git. I always deny the request and tell it to just fucking do what I asked.

What is their obsession with grabbing onto things outside their scope and how do I get it to stop?

→ More replies (1)