Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

If you've never had a git commit FAIL (eg https://github.com/okonet/lint-staged/issues/565) you aren't very experienced with git. By your description, you've probably just used it casually a lot. You don't do anything complicated and conclude that git isn't complicated. Given the history of working with:

* Submodules

* Binaries

* Large Repositories/branches

* A disparate set of development platforms/clients

* Git auth/credentials



>If you've never had a git commit FAIL (eg https://github.com/okonet/lint-staged/issues/565) you aren't very experienced with git.

I follow Linux kernel posts on vger.kernel.org and I've yet to see Linus complain about a git commit failing. I guess he isn't very experienced either?


You could be very correct! I think Linus might not be an experienced "git for Windows" user


You get to avoid the Valley of Despond when you, y'know, write the tool.


Why would he "complain"? or say anything on that mailing list? More than that, it's still git version 1 right? Sigh.


In that example, the user has configured git to ask their linter if it's ok to commit, and the linter is telling git "no" because it's failing.

The git portion of that is pretty straightforward, but whatever the linter is doing looks rather complex.


The largest git repo I touch has half a dozen submodules (some with their own, you have to do a recursive clone), about two thousand branches (historically, we prune them) and about two hundred thousand commits, and has committers on Windows, Mac, and Linux.

It doesn't have binaries in it, 'cause git-lfs. But I don't remember the last time I had a problem with it other than PEBKAC rebases and the like.


> If you've never had a git commit FAIL...you aren't very experienced with git. By your description, you've probably just used it casually a lot. You don't do anything complicated and conclude that git isn't complicated.

You make unwarranted assumptions about another person's experience base simply because it supports your position to do so.


> * Submodules

> * Binaries

> * Large Repositories/branches

> * A disparate set of development platforms/clients

> * Git auth/credentials

I have experience with all of these things and have not had a commit fail.


lol, gatekeep much?


He asked why people spend so much time trying to work with git abstractions then claimed "works for me". It's not gatekeeping, when replying to strawmen. Try to keep track.


I don't think you are applying the principle of charity when reading his words.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: