Skip to content
Snippets Groups Projects
Commit a5a90a4a authored by Philippe Dosch's avatar Philippe Dosch
Browse files

Add first branch example

parent 45609d94
Branches
No related tags found
No related merge requests found
...@@ -1529,6 +1529,67 @@ ...@@ -1529,6 +1529,67 @@
%====================================================================== %======================================================================
\newcommand{\branchstrategie}[4]{
\frame{\frametitle{#1}
\begin{tabular}{lp{3cm}}
\begin{minipage}[b]{.5\linewidth}
{\small
#2
}
\end{minipage}
&
\centerline{\includegraphics[scale=.5]{#3}}
\end{tabular}
#4
}}
%======================================================================
\branchstrategie{Stratégie 1}
{
\ex{git checkout master}\\
\ex{git rebase nouvfonc}\\
\ex{git branch -d nouvfonc}
}
{strat1.png}
{
\begin{itemize}
\item
Tout est linéaire, le commit de la branche dont on est parti étant
en dernier
\item
On ne voit pas bien les commits correspondant à la
nouvelle fonctionnalité
\end{itemize}
}
%======================================================================
% \frame{\frametitle{Stratégie 1}
% \begin{tabular}{lp{3cm}}
% \begin{minipage}[b]{.5\linewidth}
% {\small
% \ex{git checkout master}\\
% \ex{git rebase nouvfonc}\\
% \ex{git branch -d nouvfonc}
% }
% \end{minipage}
% &
% \centerline{\includegraphics[scale=.5]{strat1.png}}
% \end{tabular}
% \begin{itemize}
% \item
% Tout est linéaire, le commit de la branche dont on est parti étant
% en dernier
% \item
% On ne voit pas bien les commits correspondant à la
% nouvelle fonctionnalité
% \end{itemize}
% }
%======================================================================
\subsection{Recommandations} \subsection{Recommandations}
%====================================================================== %======================================================================
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment