diff --git a/cours_git.tex b/cours_git.tex index e56ed3a..d120efe 100644 --- a/cours_git.tex +++ b/cours_git.tex @@ -210,10 +210,30 @@ \end{itemize} \end{frame} +\section{Dépôts distants (remotes)} +\begin{frame} +\frametitle{Les dépôts distants} + Chaque développeur a toujours une \textit{copie intégrale} du projet. + Il est possible d'avoir une copie du projet sur un serveur pour mettre en commun le travail. + + \begin{block}{} + La copie d'un branche hébergée sur le serveur n'est qu'une branche. Elle peut être inspectée comme toute branche locale (il faut la récupérer avant). + \end{block} + +\end{frame} \begin{frame} -\frametitle{} + \begin{columns}[T] + \column{0.5\textwidth} + \begin{center} + \includegraphics[height=0.7\textheight]{img/remotes_non_diverging} + \end{center} + \column{0.5\textwidth} + \begin{center} + \includegraphics[height=0.7\textheight]{img/remotes_diverging} + \end{center} + \end{columns} \end{frame} diff --git a/img/remotes.dia b/img/remotes.dia new file mode 100644 index 0000000..56c280b Binary files /dev/null and b/img/remotes.dia differ diff --git a/img/remotes_diverging.png b/img/remotes_diverging.png new file mode 100644 index 0000000..c29de21 Binary files /dev/null and b/img/remotes_diverging.png differ diff --git a/img/remotes_non_diverging.png b/img/remotes_non_diverging.png new file mode 100644 index 0000000..9883d1f Binary files /dev/null and b/img/remotes_non_diverging.png differ