Commit a4e1b1b0 authored by Mihai's avatar Mihai

SVGs in commit graph

parent facd9f6d
......@@ -15,6 +15,8 @@
\usetheme{lumc}
\usepackage[inkscapelatex=false,inkscapearea=page]{svg}
\lstset{ %
basicstyle=\ttfamily,
language=none,
......@@ -41,67 +43,67 @@
%\renewcommand{\pause}{}
% Make the title page.
\makeTitleSlide{\includegraphics[width=3.5cm]{../shared/git_logo.pdf}}
\makeTitleSlide{\includesvg[width=3.5cm]{../shared/git_logo.svg}}
\section{The git commit graph}
\subsection{A linear history}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_00.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_00.svg}
\end{center}
\end{pframe}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_01.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_01.svg}
\end{center}
\end{pframe}
\subsection{The default \lstinline{master} branch}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_02.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_02.svg}
\end{center}
\end{pframe}
\subsection{The \lstinline{HEAD} pointer}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_03.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_03.svg}
\end{center}
\end{pframe}
\subsection{Committing}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_04.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_04.svg}
\end{center}
\end{pframe}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_05.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_05.svg}
\end{center}
\end{pframe}
\subsection{A non-linear history}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_06.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_06.svg}
\end{center}
\end{pframe}
\subsection{Use branches to keep track of different code paths}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_07.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_07.svg}
\end{center}
\end{pframe}
\subsection{Merging}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/commit_graph/commit_graph_08.pdf}
\includesvg[width=\textwidth]{images/commit_graph/commit_graph_08.svg}
\end{center}
\end{pframe}
......@@ -109,7 +111,7 @@
\subsection{An example repository}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/inspect_commit_graph/inspect_commit_graph_00.pdf}
\includesvg[width=\textwidth]{images/inspect_commit_graph/inspect_commit_graph_00.svg}
\end{center}
\end{pframe}
......@@ -212,13 +214,13 @@
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/graph_navigation/graph_navigation_00.pdf}
\includesvg[width=\textwidth]{images/graph_navigation/graph_navigation_00.svg}
\end{center}
\end{pframe}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/graph_navigation/graph_navigation_01.pdf}
\includesvg[width=\textwidth]{images/graph_navigation/graph_navigation_01.svg}
\end{center}
\end{pframe}
......@@ -250,19 +252,19 @@
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/graph_navigation/graph_navigation_02.pdf}
\includesvg[width=\textwidth]{images/graph_navigation/graph_navigation_02.svg}
\end{center}
\end{pframe}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/graph_navigation/graph_navigation_03.pdf}
\includesvg[width=\textwidth]{images/graph_navigation/graph_navigation_03.svg}
\end{center}
\end{pframe}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/graph_navigation/graph_navigation_04.pdf}
\includesvg[width=\textwidth]{images/graph_navigation/graph_navigation_04.svg}
\end{center}
\end{pframe}
......@@ -317,7 +319,7 @@
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/branching/branching_00.pdf}
\includesvg[width=\textwidth]{images/branching/branching_00.svg}
\end{center}
\end{pframe}
......@@ -355,7 +357,7 @@
\subsection{Extended \lstinline{lib} branch}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/branching/branching_01.pdf}
\includesvg[width=\textwidth]{images/branching/branching_01.svg}
\end{center}
\end{pframe}
......@@ -379,7 +381,7 @@
\subsection{Merged branch \lstinline{lib} into \lstinline{master} (fast forward).}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/branching/branching_02.pdf}
\includesvg[width=\textwidth]{images/branching/branching_02.svg}
\end{center}
\end{pframe}
......@@ -408,13 +410,13 @@
\subsection{Merged branch \lstinline{interface} into \lstinline{master}}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/branching/branching_03.pdf}
\includesvg[width=\textwidth]{images/branching/branching_03.svg}
\end{center}
\end{pframe}
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/branching/branching_04.pdf}
\includesvg[width=\textwidth]{images/branching/branching_04.svg}
\end{center}
\end{pframe}
......@@ -461,7 +463,7 @@
\begin{pframe}
\begin{center}
\includegraphics[width=\textwidth]{images/branching/branching_05.pdf}
\includesvg[width=\textwidth]{images/branching/branching_05.svg}
\end{center}
\end{pframe}
......@@ -666,8 +668,6 @@
\end{tabular}
\bigskip
\hfill\includegraphics[width=3.5cm]{../shared/git_logo.pdf}
\begin{tabular}{l}
\small\url{http://git-scm.com/book}\\
\small\url{https://www.atlassian.com/git}
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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