formations/figures/apps/git_commande_cherry-pick.tex

52 lines
1.9 KiB
TeX

\definecolor{stashcolor}{RGB}{248,249,156}
\definecolor{wdcolor}{RGB}{21,222,103}
\definecolor{indexcolor}{RGB}{19,206,204}
\definecolor{headcolor}{RGB}{29,162,232}
\definecolor{remote1color}{RGB}{222,208,212}
\definecolor{remote2color}{RGB}{217,151,175}
\definecolor{remote3color}{RGB}{220,98,143}
\definecolor{remote4color}{RGB}{229,20,96}
\begin{tikzpicture}[y=1pt, x=1pt, yscale=-1.000000, xscale=1.000000, inner sep=0pt, outer sep=0pt]
\path[color=black,draw=black,fill=stashcolor,line join=round,line cap=round,miter
limit=4.00,line width=1.440pt,rounded corners=0.2000cm]
(65,0) node[below=3pt] {Stash}
-- ++(25,0)
-- ++(0,75)
-- ++(-50,0)
-- ++(0,-75)
--cycle;
\path[color=black,draw=black,fill=wdcolor,line join=round,line cap=round,miter
limit=4.00,line width=1.440pt,rounded corners=0.2000cm]
(125,0) node[below=3pt] {WD}
-- ++(25,0)
-- ++(0,75)
-- ++(-50,0)
-- ++(0,-75)
--cycle;
\path[color=black,draw=black,fill=indexcolor,line join=round,line cap=round,miter
limit=4.00,line width=1.440pt,rounded corners=0.2000cm]
(185,0) node[below=3pt] {Index}
-- ++(25,0)
-- ++(0,75)
-- ++(-50,0)
-- ++(0,-75)
--cycle;
\path[color=black,draw=black,fill=headcolor,line join=round,line cap=round,miter
limit=4.00,line width=1.440pt,rounded corners=0.2000cm]
(245,0) node[below=3pt] {HEAD}
-- ++(25,0)
-- ++(0,75)
-- ++(-50,0)
-- ++(0,-75)
--cycle;
\path
(325,50) node[anchor=base,fill=remote1color,shape=rectangle,draw,minimum width=50pt,minimum height=20pt,rounded corners=0.2cm] {}
++(-5,-10) node[anchor=base,fill=remote2color,shape=rectangle,draw,minimum width=50pt,minimum height=20pt,rounded corners=0.2cm] {}
++(-5,-10) node[anchor=base,fill=remote3color,shape=rectangle,draw,minimum width=50pt,minimum height=20pt,rounded corners=0.2cm] {}
++(-5,-10) node[anchor=base,fill=remote4color,shape=rectangle,draw,minimum width=50pt,minimum height=20pt,rounded corners=0.2cm] {Remote};
\end{tikzpicture}