formations/figures/apps/git_commande_revert.tex

61 lines
2.1 KiB
TeX
Raw Permalink Normal View History

2015-07-15 20:52:22 +02:00
\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};
\path[color=black,draw=black,fill=black]
(185,37.5) node[white] {checkout}
(240,37.5) % creux
-- (245,32)
-- (130,32)
-- (125,37.5)
-- (130,43)
-- (245,43)
-- cycle;
\end{tikzpicture}