Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Mark Lodato March 01, 2010
file 23 lines (19 sloc) 0.571 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
\input{common.tex}
\begin{document}
\begin{tikzpicture}[main]
    \boundingbox
    \usualsetup
    \branch maint -> A;
    \oldbranch master -> E;
    \branch master -> B;
    \oldHEAD -> old master;
    \HEAD -> master;

    \node [cmd] at (0, 3.75) {git reset HEAD\~{}3};

    \path [line, auto=left]
        (B) edge [bend right=20] node [near end]
          {(if not \texttt{--soft})} (index)
        (B) edge [bend right=40] node [swap] {(if \texttt{--hard})} (work)
        (old HEAD) edge [dashed, bend right=15] (HEAD)
        ;

\end{tikzpicture}
\end{document}
Something went wrong with that request. Please try again.