Commit 74803ac6 authored by Vermaat's avatar Vermaat
Browse files

Clarify HEAD

parent d0537ebd
...@@ -69,9 +69,10 @@ ...@@ -69,9 +69,10 @@
\begin{frame} \begin{frame}
\frametitle{The current commit: \bt{HEAD}} \frametitle{The current commit: \bt{HEAD}}
\begin{itemize} \begin{itemize}
\item The current commit is called \bt{HEAD} (shown in blue). \item The current commit is called \bt{HEAD} (shown in blue here).
\item \bt{HEAD} normally points to the current branch. \item \bt{HEAD} is actually a pointer to the current branch.
\item Or to a commit if there is no current branch. \item (Or to the current commit if there is no current branch -- this is
called detached head state.)
\end{itemize} \end{itemize}
\vspace{1cm} \vspace{1cm}
\includegraphics[width=10cm]{images/head} \includegraphics[width=10cm]{images/head}
...@@ -82,7 +83,7 @@ ...@@ -82,7 +83,7 @@
\begin{itemize} \begin{itemize}
\item Committing moves the current branch to the new commit. \item Committing moves the current branch to the new commit.
\item Of course, \bt{HEAD} moves with it. \item Of course, \bt{HEAD} moves with it.
\item If there is no current branch, only \bt{HEAD} moves. \item (In detached head state, only \bt{HEAD} moves.)
\end{itemize} \end{itemize}
\vspace{1cm} \vspace{1cm}
\includegraphics[width=10cm]{images/commit} \includegraphics[width=10cm]{images/commit}
......
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