diff --git a/presentation.tex b/presentation.tex index 07a3f639305a14a1cd3b569ca548a2a8a73f2ea8..9c7564b523fbcd4cc6ba4dc42d93e1d0b9f088a2 100644 --- a/presentation.tex +++ b/presentation.tex @@ -1326,13 +1326,35 @@ To ../delta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{Summary} -\begin{frame} +\begin{frame}[fragile] \frametitle{Summary so far} +create git repository:\\[-2.5em] \begin{shcode} git init +git clone <url> <folder> +\end{shcode} +\vspace{-2.5em} + +add/rm file to the staging area:\\[-2.5em] +\begin{shcode} git add <file> / git rm <file> +\end{shcode} +\vspace{-2.5em} + +add staging area to git graph:\\[-2.5em] +\begin{shcode} git commit -m "<commit message>" +\end{shcode} +\vspace{-2.5em} + +add connection to a remote repository:\\[-2.5em] +\begin{shcode} git remote add <name> <url> +\end{shcode} +\vspace{-2.5em} + +add/get modification to/from a remote repository:\\[-2.5em] +\begin{shcode} git push <remote_name> <remote_branch> git fetch <remote_name> <remote_branch> git merge <ref_name> @@ -1342,7 +1364,7 @@ git merge <ref_name> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{To go further} -\begin{frame} +\begin{frame}[fragile] \frametitle{To go further...} Additional commands \begin{shcode}