forked from MarkLodato/visual-git-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
conventions.tex
26 lines (23 loc) · 845 Bytes
/
conventions.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
\input{common.tex}
\begin{document}
\begin{tikzpicture}[main]
\boundingbox
\usualsetup
\branch maint -> A;
\branch master -> E;
\HEAD -> master;
\path [>=stealth', draw=black!50, very thick]
(5,3.75) node {reference to current branch} edge [->] (HEAD label)
(6.5,2) node {current branch} edge [->] (master)
(-5,3) node {another branch} edge [->] (maint)
(-5,-0.5) node {files to go in next commit} edge [->] (index)
(-5,-2) node {files that you ``see''} edge [->] (work)
(5,-1) node [text width=6\g, text badly centered]
{commit objects, identified by SHA-1 hash}
edge [->] (E)
edge [->] (D)
edge [->] (C)
(-1,2.25) node {child points to parent} edge [->] ($ (B)!.5!(C) $)
;
\end{tikzpicture}
\end{document}