Commit 0f3fd2ab authored by Mihai's avatar Mihai

Reordering slides in basics

parent 2a53a7bf
......@@ -12,6 +12,14 @@
\usetheme{lumc}
\AtBeginSection[]
{
\begin{frame}
\frametitle{Table of contents}
\tableofcontents[currentsection, subsectionstyle=hide/hide]
\end{frame}
}
\begin{document}
% This disables the \pause command, handy in the editing phase.
......@@ -21,8 +29,8 @@
\makeTitleSlide{\includegraphics[width=3.5cm]{../shared/git_logo.pdf}}
% First page of the presentation.
\section{Starting a project}
\subsection{You can either}
\section{Getting started}
\subsection{To start a project you can either:}
\begin{pframe}
1. Start from scratch on your own:
\vspace{-0.3cm}
......@@ -37,7 +45,7 @@
2. Or you can \cmd{clone} an existing remote (or local) repository:
\vspace{-0.3cm}
\begin{framed}
\prompt\ \gitcmd\ \cmd{clone}\ \cmdarg{\<path-to-repository\>}\\
\prompt\ \gitcmd\ \cmd{clone}\ \cmdarg{\{path-to-repository\}}\\
\cliout{Cloning into \{repo-name\} ...}
\end{framed}
\end{pframe}
......@@ -58,20 +66,7 @@
\important{Removing this directory means removing your repository!}
\end{pframe}
\section{Git Operations}
\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}
\subsection{Quick setup}
\begin{pframe}
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.
......@@ -103,6 +98,19 @@
\end{framed}
\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}
\begin{pframe}
\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