|
|
@ -18,72 +18,17 @@ |
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{Digging into git describe} |
|
|
|
\frametitle{Stuff} |
|
|
|
\begin{itemize} |
|
|
|
\item What does it do? |
|
|
|
\item Why is it useful? |
|
|
|
\item Describe gotchas |
|
|
|
\item X |
|
|
|
\item Y |
|
|
|
\item Z |
|
|
|
\end{itemize} |
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{What does git describe do?} |
|
|
|
|
|
|
|
It shows you the most recent tag reachable from a commit. But also more. |
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{What does git describe do?} |
|
|
|
|
|
|
|
If the commit you are on points to a tag, just that tag is shown. If not, |
|
|
|
the closest reachable tag is shown, along with how many commits difference |
|
|
|
there is as well as an "abbreviated object name". |
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{Describe me an example} |
|
|
|
|
|
|
|
\$ git describe \\ |
|
|
|
v1.7.8-215-gb9cfa4e |
|
|
|
|
|
|
|
\$ git rev-parse HEAD \\ |
|
|
|
b9cfa4e96be9817e744fb728360e7f37c730d133 |
|
|
|
|
|
|
|
\$ git checkout v1.7.8 \\ |
|
|
|
\$ git describe \\ |
|
|
|
v1.7.8 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{Why is describe useful?} |
|
|
|
\begin{itemize} |
|
|
|
\item Easy way to quantify how far you are from a known tag |
|
|
|
\item Can be used to answer the question "Is this new enough?" |
|
|
|
\item Especially useful when converting from Subversion to Git |
|
|
|
when you have code that looks if certain revision numbers are |
|
|
|
greater/less than others |
|
|
|
\end{itemize} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{Describe gotchas} |
|
|
|
\begin{itemize} |
|
|
|
\item Only annotated tags by default |
|
|
|
\item Use --tags to also consider non-annotated tags |
|
|
|
\item Use --all consider all refs: local+remote branches or any tags |
|
|
|
\end{itemize} |
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{Should PDXGit be a regular thing?} |
|
|
|
|
|
|
|
Let's vote right now! |
|
|
|
} |
|
|
|
|
|
|
|
\frame{ |
|
|
|
\frametitle{How do I get involved with PDXGit?} |
|
|
|
\frametitle{How do I get involved with PDX Git Together?} |
|
|
|
\begin{itemize} |
|
|
|
\item https://github.com/pdxgit |
|
|
|
\item http://pdxgit.github.com |
|
|
@ -95,9 +40,9 @@ v1.7.8 |
|
|
|
\frametitle{ Stalk Me } |
|
|
|
\begin{center} |
|
|
|
\begin{itemize} |
|
|
|
\item http://duke.let.net |
|
|
|
\item http://duke.leto.net |
|
|
|
\item http://linkedin.leto.net |
|
|
|
\item http://twitter.com/dukeleto |
|
|
|
\item https://twitter.com/dukeleto |
|
|
|
\item IRC: dukeleto on Freenode, Mozilla, Perl |
|
|
|
\end{itemize} |
|
|
|
\end{center} |
|
|
|