[{"data":1,"prerenderedAt":116},["ShallowReactive",2],{"term-r\u002Frevert":3,"related-r\u002Frevert":104},{"id":4,"title":5,"acronym":6,"body":7,"category":48,"description":87,"difficulty":88,"extension":89,"letter":90,"meta":91,"navigation":92,"path":93,"related":94,"seo":98,"sitemap":99,"stem":102,"subcategory":6,"__hash__":103},"terms\u002Fterms\u002Fr\u002Frevert.md","Revert",null,{"type":8,"value":9,"toc":81},"minimark",[10,15,19,23,26,30,70,74,77],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"Revert is the safe undo button. Instead of erasing history (like reset), it creates a NEW commit that undoes the changes from an old commit. The history shows both the original change AND the undo — nothing is hidden or deleted.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"Git revert creates a new commit that undoes the changes introduced by a specified commit. Unlike reset, revert is safe for shared branches because it doesn't rewrite history — it adds to it.",[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 revert abc123f\ngit revert HEAD         # undo the most recent commit\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"," revert",[41,54,55],{"class":51}," abc123f\n",[41,57,59,61,63,66],{"class":43,"line":58},2,[41,60,48],{"class":47},[41,62,52],{"class":51},[41,64,65],{"class":51}," HEAD",[41,67,69],{"class":68},"sHwdD","         # undo the most recent commit\n",[11,71,73],{"id":72},"when-youll-hear-this","When You'll Hear This",[16,75,76],{},"\"Revert that commit — it broke production.\" \u002F \"Use revert instead of reset on shared branches.\"",[78,79,80],"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":58,"depth":58,"links":82},[83,84,85,86],{"id":13,"depth":58,"text":14},{"id":21,"depth":58,"text":22},{"id":28,"depth":58,"text":29},{"id":72,"depth":58,"text":73},"Revert is the safe undo button. Instead of erasing history (like reset), it creates a NEW commit that undoes the changes from an old commit.","intermediate","md","r",{},true,"\u002Fterms\u002Fr\u002Frevert",[95,96,97],"Reset","Commit","Cherry-pick",{"title":5,"description":87},{"changefreq":100,"priority":101},"weekly",0.7,"terms\u002Fr\u002Frevert","TDGvAZd9de65qZIrjMzSbZOVUhLop8grBZr7D7mqafU",[105,109,113],{"title":97,"path":106,"acronym":6,"category":48,"difficulty":107,"description":108},"\u002Fterms\u002Fc\u002Fcherry-pick","advanced","Cherry-pick is like copying one specific change from another branch without merging everything.",{"title":96,"path":110,"acronym":6,"category":48,"difficulty":111,"description":112},"\u002Fterms\u002Fc\u002Fcommit","beginner","A commit is like pressing the save button in a video game.",{"title":95,"path":114,"acronym":6,"category":48,"difficulty":107,"description":115},"\u002Fterms\u002Fr\u002Freset","Reset is like pressing undo on your commits.",1776518308577]