ex4-graph-premerge.tex 831 Bytes
Newer Older
Lukas Nagel's avatar
Lukas Nagel committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
\documentclass{standalone}

\input{theme}
\input{versiongraph}

\begin{document}
\begin{tikzpicture}[versionsgraph]
	\commit{\rootcommit}{lightblue}{};
	\commit[right=of \rootcommit]{\pepcommit}{lightblue}{\rootcommit};
	\commit[above right=of \pepcommit]{\sortcommit}{lightred}{\pepcommit};
	\commit[right=of \sortcommit]{\refactorcommit}{lightred}{\sortcommit};

	\commit[right=of \pepcommit]{\proofcommit}{lightblue}{\pepcommit};

	\branch[right=of \proofcommit]{master}{\proofcommit}
Lukas Nagel's avatar
Lukas Nagel committed
16
	\branch[remote, above right=of \refactorcommit]{alice/master}{\refactorcommit}
Lukas Nagel's avatar
Lukas Nagel committed
17
18
19
20
21
22
23
24
	\message{\rootcommit}{initial}
	\message{\pepcommit}{pep8}
	\message[above=of \sortcommit]{\sortcommit}{presort}
	\message[above=of \refactorcommit]{\refactorcommit}{refactor}
	\message{\proofcommit}{create proof}
	\HEAD{master}
\end{tikzpicture}
\end{document}