Skip to content

Commit

Permalink
Correct comment about F being a dangling commit
Browse files Browse the repository at this point in the history
A commit checked out as HEAD is not dangling because HEAD is referencing it.
  • Loading branch information
jmbtutor committed Jun 20, 2018
1 parent c7cbde8 commit ea70478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion understanding-git.tex
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ \subsection{\gitcmd{checkout}}
\end{tikzpicture}
\end{figure}

\grefspec{F} is a dangling commit.
\grefspec{F} will become a dangling commit if \grefspec{HEAD} moves elsewhere.
\end{frame}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Expand Down

0 comments on commit ea70478

Please sign in to comment.