Undoing commits softly

Undoing

commits

softly

block-beta columns 1 block:notes space:2 f["pointer that stores the current state.\nThe circumflex is a shortcut for\nthe last commit"] space end block:command a("git") b("reset") c("HEAD^") d("--soft") end block:notes2 space g["command that resets\nto previous state"] space h["flag that store\nchanges in staging"] end %% arrows %% c --> f b --> g d --> h classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#000, line-height:2em; %% styling %% classDef transparent fill:#fff, stroke:#fff; class a,b,c,d,e,f,g,h,i,j,k,l,notes,notes2,command,info transparent classDef commandFont font-family:'Borel', font-size:1.6em, line-height:2.2em; class a,b,c,d,e,k commandFont class f,g,h,i,j,l textFont