Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Lukas Nagel
itt
Commits
bcc06a34
Commit
bcc06a34
authored
Dec 09, 2021
by
Lukas Nagel
Browse files
add remote branch tikz style
Fixes:
#19
parent
f7b7b522
Changes
5
Hide whitespace changes
Inline
Side-by-side
grafiken/ex4-graph-premerge.tex
View file @
bcc06a34
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
\commit
[right=of \pepcommit]
{
\proofcommit
}{
lightblue
}{
\pepcommit
}
;
\commit
[right=of \pepcommit]
{
\proofcommit
}{
lightblue
}{
\pepcommit
}
;
\branch
[right=of \proofcommit]
{
master
}{
\proofcommit
}
\branch
[right=of \proofcommit]
{
master
}{
\proofcommit
}
\branch
[above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\branch
[
remote,
above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\message
{
\rootcommit
}{
initial
}
\message
{
\rootcommit
}{
initial
}
\message
{
\pepcommit
}{
pep8
}
\message
{
\pepcommit
}{
pep8
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
...
...
grafiken/ex4-graph.tex
View file @
bcc06a34
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
\commit
[right=of \proofcommit, xshift=1.2cm]
{
\mergecommit
}{
lightblue
}{
\proofcommit
,
\refactorcommit
}
;
\commit
[right=of \proofcommit, xshift=1.2cm]
{
\mergecommit
}{
lightblue
}{
\proofcommit
,
\refactorcommit
}
;
\branch
{
master
}{
\mergecommit
}
\branch
{
master
}{
\mergecommit
}
\branch
[above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\branch
[
remote,
above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\message
{
\rootcommit
}{
initial
}
\message
{
\rootcommit
}{
initial
}
\message
{
\pepcommit
}{
pep8
}
\message
{
\pepcommit
}{
pep8
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
...
...
grafiken/example-graph.tex
View file @
bcc06a34
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
\commit
[right=of \proofcommit, xshift=1.2cm]
{
\mergecommit
}{
lightblue
}{
\proofcommit
,
\refactorcommit
}
;
\commit
[right=of \proofcommit, xshift=1.2cm]
{
\mergecommit
}{
lightblue
}{
\proofcommit
,
\refactorcommit
}
;
\branch
{
master
}{
\mergecommit
}
\branch
{
master
}{
\mergecommit
}
\branch
[above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\branch
[
remote,
above right=of \refactorcommit]
{
alice/master
}{
\refactorcommit
}
\message
{
\rootcommit
}{
initial
}
\message
{
\rootcommit
}{
initial
}
\message
{
\pepcommit
}{
pep8
}
\message
{
\pepcommit
}{
pep8
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
\message
[above=of \sortcommit]
{
\sortcommit
}{
presort
}
...
...
grafiken/git-object.tex
View file @
bcc06a34
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
\begin{tikzpicture}
[draw=nontext]
\begin{tikzpicture}
[draw=nontext]
\node
[HEAD]
(head)
{
HEAD
}
;
\node
[HEAD]
(head)
{
HEAD
}
;
\node
[branch, below=of head]
(local)
{
local branch
}
;
\node
[branch, below=of head]
(local)
{
local branch
}
;
\node
[
branch
, right=of local
, fill=lightblue
]
(remote)
{
remote branch
}
;
\node
[
remote
, right=of local]
(remote)
{
remote branch
}
;
\node
[branch, below=1cm of local]
(commit)
{
commit
}
;
\node
[branch, below=1cm of local]
(commit)
{
commit
}
;
\node
[branch, below=1cm of commit]
(tree)
{
tree
}
;
\node
[branch, below=1cm of commit]
(tree)
{
tree
}
;
...
...
grafiken/versiongraph.tex
View file @
bcc06a34
...
@@ -60,6 +60,10 @@
...
@@ -60,6 +60,10 @@
, fill=black!10
, fill=black!10
, text=black!90
, text=black!90
]
]
\tikzstyle
{
remote
}
=
%
[ branch
, fill=lightblue
]
\tikzstyle
{
branch
}
=
%
\tikzstyle
{
branch
}
=
%
[ rectangle
[ rectangle
, rounded corners=2pt
, rounded corners=2pt
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment