Hacker News new | ask | show | jobs
by zzyzxd 19 days ago
The author had 27 years of experience but still found "babysitting git" was painful.

I couldn't remember what's the last time git got in my way. I guess such benefit from AI is probably very specific to their setup. I don't know, maybe the author had some really complex workflow or used some super advanced git features.

2 comments

Don’t beat me, I’m getting old. Even Git is starting to feel like unnecessary cardio.
I have only about 17 years of experience and I consider myself a moderately advanced git user — I do interactive rebases with squashes, rewords or reordering and I do chunk manipulation per commit all the time. Or at least I used to.

Now I just type into the LLM what I want it do with git and it does it for me, much much quicker. I did not find "babysitting" git painful before, but I today I do feel like doing it manually is a just huge waste of time. A $20 LLM subscription could do this shit for me just as well or better while I spent my time doing more fun and interesting things.

In my experience, those operations require understanding, judgement, and taste. But all of that only matters if I care about the codebase enough for it to matter.

So I don't think the disagreement is really about git. It's about how much of the thinking you're comfortable outsourcing. I do have some repos that's highly vibed up, in those repos I just let AI do whatever it want.

What do you mean with "manually"? Did you type complex commands by hand? Simple commands or using an GUI is faster than explaining an AI what you want to do, no?
I've never seen a GUI that could do anything git faster than me just doing CLI stuff in my terminal. Not even close.

> What do you mean with "manually"?

I type `git rebase -i head~15`, I select the commits I want to include, rearrange lines manually, mark the ones that I want to edit, squash, or reword. I save the buffer, exit, git starts giving me individual commits to edit/reword, so I edit chunks for manually type in the reworded messages etc

These days I just tell LLM what I want and it does git for me as a byproduct and it looks more or less the way I want, except with like 1% typing on my part and 100x times faster.

I doubt you can beat a skill command. It's just /my-skill-do-the-job and that's it.