Re:Show HN: Gut – An easy-to-use CLI for Git
by kodah on Thursday March 30, 2023 @12:07PM
(#35374922)
Got requires a mental model. I've tried to teach git without the mental model and it just doesn't work. There's a whole pack of people on the internet who refuse to learn the internals and complain incessantly about it. I don't think there's anything wrong with them, but it's a signal that for some folks conceptualizing what's in the docs is difficult for them. The explain command I think could go a long way in doing that, similar to how I used explain to learn SQL.
[ Parent
| on HN ]
Re:Show HN: Gut – An easy-to-use CLI for Git
by hangonhn on Thursday March 30, 2023 @04:18PM
(#35378310)
Do you have a good guide to the mental model of git? I agree with you and I think that's what preventing me from getting more familiar with it.
Re:Show HN: Gut – An easy-to-use CLI for Git
by kodah on Thursday March 30, 2023 @05:01PM
(#35378779)
They used to have a page that summarized it all, but now there's a book! https://git-scm.com/book/en/v2
Re:Show HN: Gut – An easy-to-use CLI for Git
by osigurdson on Thursday March 30, 2023 @09:53PM
(#35381401)
I have a fuzzy jpg level understanding of the internals and I do completely fine with ~10 git commands.
I’ve actually seen the opposite where people dive into the details and kind of get lost, give up and end up with a fragmented mental model that leaves them afraid to touch it.
Re:Show HN: Gut – An easy-to-use CLI for Git
by quickthrower2 on Saturday April 01, 2023 @07:12AM
(#35399261)
My rough mental model is each ref is like a .zip of your source code. Branches point to these. When you commit you create a new ref, it points to it’s parent and the branch now points to it.
Re:Show HN: Gut – An easy-to-use CLI for Git
by ryukoposting on Saturday April 01, 2023 @05:39PM
(#35404356)
To what extent should educators be responsible for teaching Git? I learned just enough to push to master for my assignments, and handle merge conflicts. Profs didn't care if you knew Git, they cared if you know how red-black trees work, or how CANBus works.
If by educators you mean professors I think none. Git is very specific and teaching the various different VCS paradigms wouldn't really be helpful in learning Git specifically. I say that in light of the fact that (at least in the US) a university is responsible for teaching students theory, and we've about maxed CS and CE out in theory.
I think what programming (outside of even CS and CE) is lacking is an apprenticeship structure that starts on your first day on the job. That's all to say theory and practical application are always different but especially different in industry.