Live data from Hacker News

Build Git – Learn Git

kushagragour.in

21–30 of 42 posts

Re: Build Git – Learn Git

#21
post #17

implementing git is an interesting approach to learning it. i generally support this kind of stuff - however I think that this starts out implementing a source control solution rather than git in particular and its a shame that it follows git so closely later down the line in that regard (but completely understandable given the aim). solving the problems for yourself you can get some insight into why git is the way i…

I'm pretty sure the point of the article is to learn about how to use git by implementing its basic functionality. The point isn't to implement how git works.

On a side note, I'm always amazed when someone implements things that are complicated to me in a really understandable ways.

Re: Build Git – Learn Git

#22
This is an excellent resource. On Bento, I have so many tutorials and walkthroughs on the basics of Git (it's a very readily accessible teaching opportunity) that it's gotten somewhat unwieldy. In many instances, some of the material is very base, and I've been looking for something more thorough without being too specialized.

This gives an excellent walkthrough of how Git works, but not only that, serves an excellent exercise on JavaScript. Bravo.

Re: Build Git – Learn Git

#25
A related good way of learning Git is to check out/checkout the very first commits of git made using git. I found the shear lack of code that a working system could be made of to be enlightening.

Re: Build Git – Learn Git

#26
post #9

This is nice. One pet peeve is that (as far as I know, I'm really not an expert) Git repos don't actually have names. The first thing the article does when implementing them is to give them names, which I thought was a bit jarring. I actually think the namelessness of the repos is one of the things that are unexpectedly cool about Git.

Probably right.I think I gave them naming keeping mind Github repos have name...maybe :)

I always thought that was just the name of the parent folder of .git

Re: Build Git – Learn Git

#27

Earlier quoted context omitted.

Probably right.I think I gave them naming keeping mind Github repos have name...maybe :)

I always thought that was just the name of the parent folder of .git

That's correct, repositories themselves are not named. You can change the name of the parent directory without consequence.

Re: Build Git – Learn Git

#29
Thank you, it's a very nice tutorial and I have not thought about this before (concept of trying to implement something you want to learn and get a better understanding of).
Post reply on HN