Skip to content
Snippets Groups Projects
Commit 166e4668 authored by Laurent Modolo's avatar Laurent Modolo
Browse files

separation between frame and subsections

parent 1012a3a0
No related branches found
No related tags found
No related merge requests found
......@@ -100,9 +100,10 @@ time so that you can recall specific versions later.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Git from the inside out}
\subsection{Git repository}
\begin{frame}[fragile]
\frametitle{Creating a git repository}
Creating a project folder
\vspace{-1em}
\begin{shcode}
......@@ -122,6 +123,7 @@ alpha
\vspace{-1em}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{Creating a git repository}
Creating a git repository
......@@ -154,6 +156,8 @@ All the other files are collectively known as the \textbf{working copy}.
They are the user’s.
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Tracking files with Git}
\begin{frame}[fragile]
\frametitle{tracking a file with git}
We want to track the modification made to \mintinline{sh}{letter.txt}
......@@ -176,6 +180,7 @@ alpha
\vspace{-1em}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{git add : part 1}
We want to track the modification made to \mintinline{sh}{letter.txt}\\[-2.5em]
......@@ -201,6 +206,7 @@ Git \textbf{blob}:\\[-2.5em]
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{git add : part 2}
git adds the file to the index\\[-2.5em]
......@@ -226,6 +232,7 @@ It is stored in \mintinline{sh}{.git/index}\\[-2.5em]
\vspace{-2.5em}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{git add : part 3}
......@@ -258,6 +265,7 @@ And add it to the index\\[-2.5em]
\vspace{-2.5em}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}[fragile]
\frametitle{git add : part 3}
......@@ -289,6 +297,10 @@ git creates a new blob for the new \mintinline{sh}{data/number.txt}\\[-2.5em]
\vspace{-2.5em}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Committing change to Git}
\begin{frame}
\frametitle{git commit}
\begin{center}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment