From b572ee544004b873b74060d05bfd6854503e13dd Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Fri, 7 Jul 2017 15:53:13 +0200
Subject: [PATCH] presentation.tex: git init

---
 presentation.tex | 41 +++++++++++++++++++++++++++++++++++++++--
 1 file changed, 39 insertions(+), 2 deletions(-)

diff --git a/presentation.tex b/presentation.tex
index 96bc4bf..b736e6a 100644
--- a/presentation.tex
+++ b/presentation.tex
@@ -102,13 +102,50 @@ time so that you can recall specific versions later.
 
 \begin{frame}[fragile]
   \frametitle{Creating a git repository}
-  
+
+Creating a project folder
 \begin{shcode}
 ~ $ mkdir alpha
 ~ $ cd alpha
 ~/alpha $ mkdir data
-~/alpha $ printf 'a' > data/letter.txt
+~/alpha $ echo 'a' > \
+~/alpha $ data/letter.txt
+\end{shcode}
+we have :
+\begin{shcode}
+alpha
+└── data
+    └── letter.txt
+\end{shcode}
+\end{frame}
+
+\begin{frame}[fragile]
+  \frametitle{Creating a git repository}
+Creating a git repository
+\begin{shcode}
+~/alpha $ git init
+Initialized empty Git repository in alpha/.git/
 \end{shcode}
+we have :
+\begin{columns}
+  \begin{column}{0.6\textwidth}
+\begin{shcode}
+alpha
+├── data
+│   └── letter.txt
+└── .git
+    ├── objects
+    etc...
+\end{shcode}
+  \end{column}
+  \begin{column}{0.4\textwidth}
+    \includegraphics[width=0.9\textwidth]{./img/vcs_local.png}
+  \end{column}
+\end{columns}
+
+The \texttt{.git} directory and its contents are Git’s.
+All the other files are collectively known as the \textbf{working copy}.
+They are the user’s.
 
 \end{frame}
 
-- 
GitLab