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

>Fetch updates your local repository (which is behind the scenes, separate from your literal local files).

Therein lies the chief problem with git: it's a leaky abstraction. Nobody actually should give a flying shit about commit hashes and ^HEAD or whatever it's called.

All the newbie tutorials you find waste so much time on that, but what people really care about when they start using git is "what the fuck happened to my files and how do I get them back the way they were".

Git docs and tutorials are breathtakingly bad at showing this.



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

Search: