DEV Community

Discussion on: Git cheatsheet for beginners

Collapse
 
jeansmaug profile image
jean-smaug • Edited

IMHO the best way to demystify what HEAD is, is to go inside the .git folder.
After that you go to the refs folder and you can explain the branches ;)

head-ref

Personally I understood many things by watching inside this .git folder.

I didn't mention that, but your article is nice. I will send it to my students :)