Using rebase to fix branch source

Using

rebase

to fix branch source

block-beta columns 1 block:notes space:2 f["Flag to indicate \nthe new source"] space i["Incorrect branch source"] space end block:command a("git") b("rebase") c("--onto") d("source") e("previous") k("branch") end block:notes2 space g["Command to reapply commits"] space h["Branch or commit \nthat should be the source"] space l["Branch that \nneeds correction"] end %% arrows %% b --> g c --> f classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#fff, line-height:2em; d --> h e --> i k --> l classDef textFont font-family:'Chilanka', font-size:1.2em, font-color:#fff, line-height:2.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