|
|
|
@ -69,32 +69,23 @@ |
|
|
|
|
|
|
|
|
|
\begin{document} |
|
|
|
|
|
|
|
|
|
\frame{\titlepage} |
|
|
|
|
|
|
|
|
|
\note{% |
|
|
|
|
A few people recently have asked me about Git. |
|
|
|
|
|
|
|
|
|
Git has become the de-facto for most situations. |
|
|
|
|
\frame{ |
|
|
|
|
\titlepage |
|
|
|
|
\note{% |
|
|
|
|
A few people recently have asked me about Git. |
|
|
|
|
|
|
|
|
|
Microsoft recently moved to git for version controlling Windows and Office. |
|
|
|
|
Git has a reputation for being hard. I think this is (at least partly) because so much of |
|
|
|
|
its inner workings are abstracted away making the interface feel like magic. Not to mention |
|
|
|
|
videos with titles like "Learn git in 15 minutes" |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
\begin{frame} |
|
|
|
|
\frametitle{Aims} |
|
|
|
|
I think that understanding a bit about how Git works under the hood will help de-mistily it. |
|
|
|
|
It certainly did for me. |
|
|
|
|
|
|
|
|
|
\begin{itemize} |
|
|
|
|
\item Go through some basic operations to help you use git |
|
|
|
|
\item Give you enough of a grounding to understand the official documentation |
|
|
|
|
\end{itemize} |
|
|
|
|
\note{% |
|
|
|
|
I am obviously not going to be able to go over everything that git does because it does so much. |
|
|
|
|
Git's data model is actually quite simple (beautiful even). Understanding the basics of this |
|
|
|
|
can really help. |
|
|
|
|
|
|
|
|
|
Hopefully after this you will be able to use Git well for most day-to-day tasks. Git has very |
|
|
|
|
compressive documentation. I hope that this will also give you enough of a background to |
|
|
|
|
understand the documentation. |
|
|
|
|
} |
|
|
|
|
\end{frame} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{frame} |
|
|
|
@ -138,30 +129,6 @@ |
|
|
|
|
\end{frame} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\begin{frame} |
|
|
|
|
\frametitle{Obligitary XKCD Comic} |
|
|
|
|
\begin{center} |
|
|
|
|
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{auto-xkcd-1597.png} |
|
|
|
|
\end{center} |
|
|
|
|
\note{% |
|
|
|
|
I have done this |
|
|
|
|
|
|
|
|
|
Git has a reputation for being hard. |
|
|
|
|
|
|
|
|
|
It's interface abstracts away a lot of the work, meaning it's commands can feel like magic. |
|
|
|
|
When it works, this is fine but unfortunately when things go wrong, you can be left - like |
|
|
|
|
in this comic - with no idea how to proceed. |
|
|
|
|
|
|
|
|
|
It's interface can be confusing, there are some commands that do a lot (checkout) and there |
|
|
|
|
are often multiple ways to achieve something. |
|
|
|
|
|
|
|
|
|
I think that understanding a bit about how Git works under the hood will help de-mistily it. |
|
|
|
|
|
|
|
|
|
Git's data model is actually quite simple (beautiful even). Understanding the basics of this |
|
|
|
|
can really help. |
|
|
|
|
} |
|
|
|
|
\end{frame} |
|
|
|
|
|
|
|
|
|
\begin{frame}[fragile] |
|
|
|
|
\frametitle{Install} |
|
|
|
|
|
|
|
|
|