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

The article goes in the right direction, but from a weird starting point. Saying things like "a branch contains the entire history" just adds to the general confusion about Git. Git does not have branches. Sure, Git emulates branches to appear familiar and intuitive, but it is actually counterproductive to use that as a starting point to explain how Git works. Git manages a graph of commits and some of those commits need human readable labels. That's it. The only thing that contains the entire history is the commit graph itself.


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

Search: