Usando
rebase
pra corrigir um branch
block-beta
columns 1
block:notes
space:2 f["Flag para indicar\na nova origem"] space i["Origem incorreta\n do branch"] space
end
block:command
a("git") b("rebase") c("--onto") d("origem") e("anterior") k("branch")
end
block:notes2
space g["Comando para reaplicar commits"] space h["Branch ou commit\n que deve ser a origem"] space l["Branch que precisa\n de correção"]
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