summaryrefslogtreecommitdiff
path: root/src/git-in-reverse.tex
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2017-09-02 16:17:55 -0600
committerkballou <kballou@devnulllabs.io>2017-09-02 16:17:55 -0600
commit2d3f6fbea9d8edaa0cc81a2bad7eb9c8b5352be9 (patch)
treefaecd8d20d59857561d6fa0d7db98ab61b5969fa /src/git-in-reverse.tex
parent3e87937dfab836fd97cf0e2419ad1bb3f3da61e8 (diff)
downloadgit-in-reverse-2d3f6fbea9d8edaa0cc81a2bad7eb9c8b5352be9.tar.gz
git-in-reverse-2d3f6fbea9d8edaa0cc81a2bad7eb9c8b5352be9.tar.xz
Update rebase slides
* Add pointers to make commit subtrees more clear * Update note about rebasing other's "history" where "history" is usally other people's "commits", this is a bit of a nuanced, and esoteric note
Diffstat (limited to 'src/git-in-reverse.tex')
-rw-r--r--src/git-in-reverse.tex16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/git-in-reverse.tex b/src/git-in-reverse.tex
index 107ca47..1d461c5 100644
--- a/src/git-in-reverse.tex
+++ b/src/git-in-reverse.tex
@@ -898,10 +898,12 @@ Or, more realistically, a great way to have a bad time\ldots{}
\node (C0) at (1, 0) {C0};
\node (C1) at (3, 0) {C1};
\node (C2) at (5, 0) {C2};
+\node (ours) at (5, 1) {ours};
\draw[-o,thick,dotted] (root) -- (C0);
\draw[-o,thick] (C0) -- (C1);
\draw[-o,thick] (C1) -- (C2);
+\draw[->,thick] (ours) -- (C2);
\end{tikzpicture}
\end{figure}
@@ -915,14 +917,18 @@ Or, more realistically, a great way to have a bad time\ldots{}
\node (C0) at (1, 0) {C0};
\node (C1) at (3, 0) {C1};
\node (C2) at (5, 0) {C2};
+\node (ours) at (5, 1) {ours};
\node[text=solarizedMagenta] (U1) at (3.5, -1) {U1};
\node[text=solarizedMagenta] (U2) at (5.5, -1) {U2};
+\node[text=solarizedMagenta] (theirs) at (5.5, -2) {theirs};
\draw[-o,thick,dotted] (root) -- (C0);
\draw[-o,thick] (C0) -- (C1);
\draw[-o,thick] (C0) to[out=0,in=180] (U1);
\draw[-o,thick] (C1) -- (C2);
\draw[-o,thick] (U1) -- (U2);
+\draw[->,thick] (ours) -- (C2);
+\draw[->,thick] (theirs) -- (U2);
\end{tikzpicture}
\end{figure}
@@ -936,14 +942,18 @@ Or, more realistically, a great way to have a bad time\ldots{}
\node (C0) at (1, 0) {C0};
\node (C1) at (3, 2) {C1};
\node (C2) at (5, 2) {C2};
+\node (ours) at (5, 3) {ours};
\node[text=solarizedMagenta] (U1) at (3, 0) {U1};
\node[text=solarizedMagenta] (U2) at (5, 0) {U2};
+\node[text=solarizedMagenta] (theirs) at (5, -1) {theirs};
\draw[-o,thick,dotted] (root) -- (C0);
\draw[-o,thick] (C0) -- (U1);
\draw[-o,thick] (C1) -- (C2);
\draw[-o,thick] (U1) -- (U2);
\draw[-o,thick,dotted] (C0) to[out=0,in=180] (C1);
+\draw[->,thick] (ours) -- (C2);
+\draw[->,thick] (theirs) -- (U2);
\end{tikzpicture}
\end{figure}
@@ -959,12 +969,16 @@ Or, more realistically, a great way to have a bad time\ldots{}
\node[text=solarizedOrange] (C2) at (9, 0) {C2'};
\node (U1) at (3, 0) {U1};
\node (U2) at (5, 0) {U2};
+\node (theirs) at (5, -1) {theirs};
+\node (ours) at (9, 1) {ours};
\draw[-o,thick,dotted] (root) -- (C0);
\draw[-o,thick] (C0) -- (U1);
\draw[-o,thick] (U1) -- (U2);
\draw[-o,thick] (U2) -- (C1);
\draw[-o,thick] (C1) -- (C2);
+\draw[->,thick] (ours) -- (C2);
+\draw[->,thick] (theirs) -- (U2);
\end{tikzpicture}
\end{figure}
@@ -983,7 +997,7 @@ Or, more realistically, a great way to have a bad time\ldots{}
\item{When \textbf{not} to rebase?}
\begin{itemize}
\item{Non-Private Tree}
-\item{Other people's commits}
+\item{Other people's history (commits, usually)}
\item{Preference toward chronological history}
\end{itemize}
\end{itemize}