From 56dffbf7519c04835830cfdcea667d3f094cf459 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 26 Mar 2015 10:57:17 +0100 Subject: [PATCH] Intro done History of git and why to choose git added. --- .gitignore | 1 + Makefile | 8 ++++++-- README | 7 +++++++ git.tex | 26 ++++++++++++++++++++++++++ preamble.tex | 9 ++++----- 5 files changed, 44 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 4a5ff19..b603753 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ *.snm *.toc *.fmt +*.png vc.tex diff --git a/Makefile b/Makefile index 98cf2f8..845a6cf 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,18 @@ SHELL:=/bin/bash -git.pdf: git.tex preamble.fmt +git.pdf: git.tex preamble.fmt 1.png pdflatex $< pdflatex $< preamble.fmt: preamble.tex vc.tex pdflatex -ini -jobname="$(basename $<)" "&pdflatex $<\dump" +1.png: + wget -qO- http://www.androidworld.it/wp-content/uploads/2014/02/linus-torvalds-getty-final.jpg\ + | convert -resize 10\% - $@ + vc.tex: .git/logs/HEAD git log -1 --format="format:\\gdef\\GITAbrHash{%H}" > $@ clean: - $(RM) -v *.{eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex + $(RM) -v *.{png,eps,aux,fmt,bbl,blg,dvi,log,out,toc,nav,snm,pdf} vc.tex diff --git a/README b/README index 7ffc97d..af1cb04 100644 --- a/README +++ b/README @@ -1 +1,8 @@ Slides for the GIT flashtalk for AI students. + +Requirements to build the slides: + - Pdflatex + - Imagemagick to convert the images + - Wget to download the images + - Latex TIPA package + - Latex Beamer package diff --git a/git.tex b/git.tex index c336224..41cb2c1 100644 --- a/git.tex +++ b/git.tex @@ -19,6 +19,32 @@ \end{itemize} \end{frame} +\begin{frame} + \frametitle{Why GIT?} + \framesubtitle{Where did GIT come from?} + \begin{block}{Since 2005} + \begin{columns} + \column{0.4\linewidth} + \begin{itemize} + \item \textipa{[g \'i t]} + \item Linus Thorvalds + \item Linux kernel + \end{itemize} + + \column{0.5\linewidth} + \begin{figure}[H] + \centering + \includegraphics[width=0.5\linewidth]{1.png} + \caption{Linus Torvalds} + \end{figure} + \end{columns} + \end{block} + + \begin{block}{Why GIT} + Fast, scalable, simple, support for non-linear development. + \end{block} +\end{frame} + \section{Basics} \section{Branching} diff --git a/preamble.tex b/preamble.tex index c12fb60..bf58dd1 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,15 +1,14 @@ \documentclass{beamer} \usepackage{hyperref} +\usepackage[tone,safe]{tipa} \input{vc.tex} -\title[GIT] {Git flashtalk} +\title[GIT]{Git flashtalk} \subtitle{A short introduction to GIT} -\author[Lubbers] % (optional, for multiple authors) -{M.~Lubbers\inst{1}} -\institute[Radboud University] % (optional) -{ +\author[Lubbers]{M.~Lubbers\inst{1}} +\institute[Radboud University]{% \inst{1}% Artificial Intelligence\\ Radboud University Nijmegen -- 2.20.1