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

Git is one of those things where it pays off immensely to understand the underlying object model.

Learn about commit objects, tree objects, and file blobs. Then learn about the staging area.

There are some things layered on top of or next to this (such as stashing, pull and push), but understanding this small core is sufficient for everything else. I've worked on large problems and juggled many branches, and I've never had any problems.

Git gets the core concepts of distributed version control right, and this is the reason why it has won. Over time, everybody will be exposed to those core concepts, and the age of cutting and pasting command line recipes from the web will be over.



Once I read that git's core model is a DAC abs everything is just a label to nodes on the graph, I haven't had any issues using git. Before that, it was a bit of a mystery.




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

Search: