[{"data":1,"prerenderedAt":128},["ShallowReactive",2],{"term-d\u002Fdiff":3,"related-d\u002Fdiff":117},{"id":4,"title":5,"acronym":6,"body":7,"category":48,"description":100,"difficulty":101,"extension":102,"letter":103,"meta":104,"navigation":105,"path":106,"related":107,"seo":111,"sitemap":112,"stem":115,"subcategory":6,"__hash__":116},"terms\u002Fterms\u002Fd\u002Fdiff.md","Diff",null,{"type":8,"value":9,"toc":94},"minimark",[10,15,19,23,26,30,83,87,90],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"A diff shows you exactly what changed between two versions of your code. Lines that were added show up in green with a +, and lines that were removed show up in red with a -. It's like a 'spot the difference' game for code.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"A diff (short for difference) is a comparison between two states of a file or set of files. Git diff shows line-by-line changes in unified diff format. It's used for code review, debugging, and understanding changes.",[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 diff                # unstaged changes\ngit diff --staged       # staged changes\ngit diff main..feature  # between branches\n","bash","",[38,39,40,57,70],"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"," diff",[41,54,56],{"class":55},"sHwdD","                # unstaged changes\n",[41,58,60,62,64,67],{"class":43,"line":59},2,[41,61,48],{"class":47},[41,63,52],{"class":51},[41,65,66],{"class":51}," --staged",[41,68,69],{"class":55},"       # staged changes\n",[41,71,73,75,77,80],{"class":43,"line":72},3,[41,74,48],{"class":47},[41,76,52],{"class":51},[41,78,79],{"class":51}," main..feature",[41,81,82],{"class":55},"  # between branches\n",[11,84,86],{"id":85},"when-youll-hear-this","When You'll Hear This",[16,88,89],{},"\"Check the diff before committing.\" \u002F \"The diff is huge — can you break this into smaller PRs?\"",[91,92,93],"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":59,"depth":59,"links":95},[96,97,98,99],{"id":13,"depth":59,"text":14},{"id":21,"depth":59,"text":22},{"id":28,"depth":59,"text":29},{"id":85,"depth":59,"text":86},"A diff shows you exactly what changed between two versions of your code.","beginner","md","d",{},true,"\u002Fterms\u002Fd\u002Fdiff",[108,109,110],"Commit","Pull Request","Staging Area",{"title":5,"description":100},{"changefreq":113,"priority":114},"weekly",0.7,"terms\u002Fd\u002Fdiff","gkQhWfb9Psc3WXGXq3sjiDfTT8vflYO2gpbBg3KmTnk",[118,121,125],{"title":108,"path":119,"acronym":6,"category":48,"difficulty":101,"description":120},"\u002Fterms\u002Fc\u002Fcommit","A commit is like pressing the save button in a video game.",{"title":109,"path":122,"acronym":123,"category":48,"difficulty":101,"description":124},"\u002Fterms\u002Fp\u002Fpull-request","PR","A pull request is like raising your hand in class and saying 'Hey, I made some changes — can someone check my work before we make it official?",{"title":110,"path":126,"acronym":6,"category":48,"difficulty":101,"description":127},"\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`.",1776518274474]