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

Modifies branch intro title and introduces the branch deletion command

parent eaa96020
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@
%======================================================================
\subsection{Création de nouvelles branches}
\subsection{Utiliser plusieurs branches}
%======================================================================
......@@ -153,18 +153,6 @@
%======================================================================
\frame{\frametitle{Passage d'une branche à une autre}
\begin{itemize}
\item
Pour créer une branche tout en s'y déplaçant\\
\mygit{git branch}{gitbranch1.txt}
\mygitplus{git checkout -b nouveau}\\
\mygit{git branch}{gitbranch3.txt}
\end{itemize}
}
%======================================================================
\frame{\frametitle{Passage d'une branche à une autre}
\framesubtitle{Aspects techniques}
\begin{itemize}
......@@ -198,3 +186,24 @@
toutes les branches
\end{itemize}
}
%======================================================================
\frame{\frametitle{Autres commandes liées aux branches}
\begin{itemize}
\item
Pour créer une branche tout en s'y déplaçant\\
\ex{git checkout -b \emph{branche}}\\
\mygit{git branch}{gitbranch1.txt}
\mygitplus{git checkout -b nouveau}\\
\mygit{git branch}{gitbranch3.txt}
\item
Pour supprimer une branche, qui doit avoir été fusionnée au
préalable (utiliser le flag \ex{-D} sinon pour forcer la
suppression)\\
\mygitplus{git branch -d \emph{branche}}\\
\end{itemize}
}
%======================================================================
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment