[{"data":1,"prerenderedAt":125},["ShallowReactive",2],{"term-c\u002Fcommit":3,"related-c\u002Fcommit":112},{"id":4,"title":5,"acronym":6,"body":7,"category":48,"description":94,"difficulty":95,"extension":96,"letter":97,"meta":98,"navigation":99,"path":100,"related":101,"seo":106,"sitemap":107,"stem":110,"subcategory":6,"__hash__":111},"terms\u002Fterms\u002Fc\u002Fcommit.md","Commit",null,{"type":8,"value":9,"toc":88},"minimark",[10,15,19,23,26,30,77,81,84],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A commit is like pressing the save button in a video game. It takes a snapshot of all your code right now and gives it a little note about what you changed. You can always go back to this exact save point later.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A commit is an atomic unit of change in git. It records a snapshot of the staged changes in your working directory along with a message, author info, and timestamp. Each commit gets a unique SHA-1 hash identifier.",[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 add .\ngit commit -m \"Add login button to homepage\"\n","bash","",[38,39,40,56],"code",{"__ignoreMap":36},[41,42,45,49,53],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sBMFI","git",[41,50,52],{"class":51},"sfazB"," add",[41,54,55],{"class":51}," .\n",[41,57,59,61,64,67,71,74],{"class":43,"line":58},2,[41,60,48],{"class":47},[41,62,63],{"class":51}," commit",[41,65,66],{"class":51}," -m",[41,68,70],{"class":69},"sMK4o"," \"",[41,72,73],{"class":51},"Add login button to homepage",[41,75,76],{"class":69},"\"\n",[11,78,80],{"id":79},"when-youll-hear-this","When You'll Hear This",[16,82,83],{},"\"Commit your changes before switching branches.\" \u002F \"That bug was introduced in the last commit.\"",[85,86,87],"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 .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}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":58,"depth":58,"links":89},[90,91,92,93],{"id":13,"depth":58,"text":14},{"id":21,"depth":58,"text":22},{"id":28,"depth":58,"text":29},{"id":79,"depth":58,"text":80},"A commit is like pressing the save button in a video game.","beginner","md","c",{},true,"\u002Fterms\u002Fc\u002Fcommit",[102,103,104,105],"Git","Push","Staging Area","Diff",{"title":5,"description":94},{"changefreq":108,"priority":109},"weekly",0.7,"terms\u002Fc\u002Fcommit","bY_eeQ_Kw1nv5_Gz6vqAY9eQD6p1Q4KiyRvIPmovrG4",[113,116,119,122],{"title":105,"path":114,"acronym":6,"category":48,"difficulty":95,"description":115},"\u002Fterms\u002Fd\u002Fdiff","A diff shows you exactly what changed between two versions of your code.",{"title":102,"path":117,"acronym":6,"category":48,"difficulty":95,"description":118},"\u002Fterms\u002Fg\u002Fgit","Git is like a magical save system for your code. Every time you save (commit), it remembers exactly what changed.",{"title":103,"path":120,"acronym":6,"category":48,"difficulty":95,"description":121},"\u002Fterms\u002Fp\u002Fpush","Push is like uploading your saved game to the cloud so your friends can download it.",{"title":104,"path":123,"acronym":6,"category":48,"difficulty":95,"description":124},"\u002Fterms\u002Fs\u002Fstaging-area","The staging area is like a shopping cart. Before you 'buy' (commit) your changes, you put them in the cart first with `git add`.",1776518249536]