Commit 0f3fd2ab authored by Mihai's avatar Mihai

Reordering slides in basics

parent 2a53a7bf
...@@ -12,6 +12,14 @@ ...@@ -12,6 +12,14 @@
\usetheme{lumc} \usetheme{lumc}
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of contents}
\tableofcontents[currentsection, subsectionstyle=hide/hide]
\end{frame}
}
\begin{document} \begin{document}
% This disables the \pause command, handy in the editing phase. % This disables the \pause command, handy in the editing phase.
...@@ -21,8 +29,8 @@ ...@@ -21,8 +29,8 @@
\makeTitleSlide{\includegraphics[width=3.5cm]{../shared/git_logo.pdf}} \makeTitleSlide{\includegraphics[width=3.5cm]{../shared/git_logo.pdf}}
% First page of the presentation. % First page of the presentation.
\section{Starting a project} \section{Getting started}
\subsection{You can either} \subsection{To start a project you can either:}
\begin{pframe} \begin{pframe}
1. Start from scratch on your own: 1. Start from scratch on your own:
\vspace{-0.3cm} \vspace{-0.3cm}
...@@ -37,7 +45,7 @@ ...@@ -37,7 +45,7 @@
2. Or you can \cmd{clone} an existing remote (or local) repository: 2. Or you can \cmd{clone} an existing remote (or local) repository:
\vspace{-0.3cm} \vspace{-0.3cm}
\begin{framed} \begin{framed}
\prompt\ \gitcmd\ \cmd{clone}\ \cmdarg{\<path-to-repository\>}\\ \prompt\ \gitcmd\ \cmd{clone}\ \cmdarg{\{path-to-repository\}}\\
\cliout{Cloning into \{repo-name\} ...} \cliout{Cloning into \{repo-name\} ...}
\end{framed} \end{framed}
\end{pframe} \end{pframe}
...@@ -58,20 +66,7 @@ ...@@ -58,20 +66,7 @@
\important{Removing this directory means removing your repository!} \important{Removing this directory means removing your repository!}
\end{pframe} \end{pframe}
\section{Git Operations} \subsection{Quick setup}
\begin{pframe}
\vspace{-0.9cm}
Operations can be local or remote.\\
Most importantly, they track files around these three \textbf{areas}
\footnote[1]{\scriptsize{Adapted from the
\href{http://git-scm.com/book/en/v2/Getting-Started-Git-Basics}
{Pro Git Book}.}}:
\begin{center}
\includegraphics[width=0.7\textwidth]{images/git_areas.pdf}\\
\end{center}
\end{pframe}
\subsection{Prelude: quick setup}
\begin{pframe} \begin{pframe}
If you have never used \gitcmd\ before you need to tell it who you are. This If you have never used \gitcmd\ before you need to tell it who you are. This
information is saved in \cmdarg{.gitconfig}\ and used to mark each commit. information is saved in \cmdarg{.gitconfig}\ and used to mark each commit.
...@@ -103,6 +98,19 @@ ...@@ -103,6 +98,19 @@
\end{framed} \end{framed}
\end{pframe} \end{pframe}
\subsection{Playing areas}
\begin{pframe}
Git operations track files around these three \textbf{areas}
\footnote[1]{\scriptsize{Adapted from the
\href{http://git-scm.com/book/en/v2/Getting-Started-Git-Basics}
{Pro Git Book}.}}:
\begin{center}
\includegraphics[width=0.7\textwidth]{images/git_areas.pdf}\\
\end{center}
\vspace{-0.4cm}
\end{pframe}
\section{Git Operations}
\subsection{Checking the status of your files} \subsection{Checking the status of your files}
\begin{pframe} \begin{pframe}
\begin{framed} \begin{framed}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment