[{"data":1,"prerenderedAt":140},["ShallowReactive",2],{"term-h\u002Fhead":3,"related-h\u002Fhead":125},{"id":4,"title":5,"acronym":6,"body":7,"category":48,"description":107,"difficulty":108,"extension":109,"letter":110,"meta":111,"navigation":112,"path":113,"related":114,"seo":119,"sitemap":120,"stem":123,"subcategory":6,"__hash__":124},"terms\u002Fterms\u002Fh\u002Fhead.md","HEAD",null,{"type":8,"value":9,"toc":101},"minimark",[10,15,19,23,26,30,90,94,97],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"HEAD is like a bookmark that says 'you are here' in your Git history. It points to the commit you're currently looking at. When you switch branches, HEAD moves to point at the latest commit on that branch.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"HEAD is a reference to the current commit in your working directory. It typically points to the tip of the current branch. A 'detached HEAD' state occurs when HEAD points directly to a commit rather than a branch.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","git log --oneline HEAD    # see where HEAD is\ngit reset HEAD~1          # move HEAD back one commit\ngit diff HEAD             # changes since current commit\n","bash","",[38,39,40,63,77],"code",{"__ignoreMap":36},[41,42,45,49,53,56,59],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sBMFI","git",[41,50,52],{"class":51},"sfazB"," log",[41,54,55],{"class":51}," --oneline",[41,57,58],{"class":51}," HEAD",[41,60,62],{"class":61},"sHwdD","    # see where HEAD is\n",[41,64,66,68,71,74],{"class":43,"line":65},2,[41,67,48],{"class":47},[41,69,70],{"class":51}," reset",[41,72,73],{"class":51}," HEAD~1",[41,75,76],{"class":61},"          # move HEAD back one commit\n",[41,78,80,82,85,87],{"class":43,"line":79},3,[41,81,48],{"class":47},[41,83,84],{"class":51}," diff",[41,86,58],{"class":51},[41,88,89],{"class":61},"             # changes since current commit\n",[11,91,93],{"id":92},"when-youll-hear-this","When You'll Hear This",[16,95,96],{},"\"Reset to HEAD.\" \u002F \"You're in detached HEAD state — checkout a branch.\"",[98,99,100],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":65,"depth":65,"links":102},[103,104,105,106],{"id":13,"depth":65,"text":14},{"id":21,"depth":65,"text":22},{"id":28,"depth":65,"text":29},{"id":92,"depth":65,"text":93},"HEAD is like a bookmark that says 'you are here' in your Git history. It points to the commit you're currently looking at.","intermediate","md","h",{},true,"\u002Fterms\u002Fh\u002Fhead",[115,116,117,118],"Commit","Branch","Checkout","Reset",{"title":5,"description":107},{"changefreq":121,"priority":122},"weekly",0.7,"terms\u002Fh\u002Fhead","JrH8YSvGcRyYOnMUinBfUorcIYXPKx9GwA061uSGRS4",[126,130,133,136],{"title":116,"path":127,"acronym":6,"category":48,"difficulty":128,"description":129},"\u002Fterms\u002Fb\u002Fbranch","beginner","A branch is like creating a parallel universe for your code.",{"title":117,"path":131,"acronym":6,"category":48,"difficulty":128,"description":132},"\u002Fterms\u002Fc\u002Fcheckout","Checkout is like teleporting to a different branch or going back in time to an old version.",{"title":115,"path":134,"acronym":6,"category":48,"difficulty":128,"description":135},"\u002Fterms\u002Fc\u002Fcommit","A commit is like pressing the save button in a video game.",{"title":118,"path":137,"acronym":6,"category":48,"difficulty":138,"description":139},"\u002Fterms\u002Fr\u002Freset","advanced","Reset is like pressing undo on your commits.",1776518285643]